com.stimulsoft.base.context.chart.geoms
Class StiFontGeom
java.lang.Object
com.stimulsoft.base.context.chart.geoms.StiGeom
com.stimulsoft.base.context.chart.geoms.StiFontGeom
- All Implemented Interfaces:
- IStiJsonReportObject
public class StiFontGeom
- extends StiGeom
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiFontGeom
public StiFontGeom(StiFont font)
StiFontGeom
public StiFontGeom(java.lang.String fontName,
double fontSize,
StiEnumSet<StiFontStyle> style)
ChangeFontSize
public static StiFontGeom ChangeFontSize(StiFont font,
double newFontSize)
ChangeFontSize
public static StiFontGeom ChangeFontSize(StiFont font,
float newFontSize)
getType
public StiGeomType getType()
- Specified by:
getType
in class StiGeom
getFontName
public java.lang.String getFontName()
- Returns:
- the fontName
setFontName
public void setFontName(java.lang.String fontName)
- Parameters:
fontName
- the fontName to set
getFontSize
public double getFontSize()
- Returns:
- the fontSize
setFontSize
public void setFontSize(double fontSize)
- Parameters:
fontSize
- the fontSize to set
getFontStyle
public StiEnumSet<StiFontStyle> getFontStyle()
- Returns:
- the fontStyle
setFontStyle
public void setFontStyle(StiEnumSet<StiFontStyle> fontStyle)
- Parameters:
fontStyle
- the fontStyle to set
SaveToJsonObject
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
- Specified by:
SaveToJsonObject
in interface IStiJsonReportObject
- Overrides:
SaveToJsonObject
in class StiGeom
- Throws:
JSONException
LoadFromJsonObject
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
- Specified by:
LoadFromJsonObject
in interface IStiJsonReportObject
- Overrides:
LoadFromJsonObject
in class StiGeom
- Throws:
JSONException