Class StiFontGeom
java.lang.Object
com.stimulsoft.report.painters.context.chart.geoms.StiGeom
com.stimulsoft.report.painters.context.chart.geoms.StiFontGeom
- All Implemented Interfaces:
IStiJsonReportObject
-
Constructor Summary
ConstructorsConstructorDescriptionStiFontGeom(StiFont font) StiFontGeom(String fontName, double fontSize, StiEnumSet<StiFontStyle> style) -
Method Summary
Modifier and TypeMethodDescriptionstatic StiFontGeomChangeFontSize(StiFont font, double newFontSize) static StiFontGeomChangeFontSize(StiFont font, float newFontSize) doublegetType()voidLoadFromJsonObject(JSONObject jObject) voidsetFontName(String fontName) voidsetFontSize(double fontSize) voidsetFontStyle(StiEnumSet<StiFontStyle> fontStyle) Methods inherited from class com.stimulsoft.report.painters.context.chart.geoms.StiGeom
SaveBrushToJsonObject, SaveGeomListToJsonObject, SavePointFArrayToJsonObject, SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject, SaveRectToJsonObject
-
Constructor Details
-
StiFontGeom
-
StiFontGeom
-
-
Method Details
-
ChangeFontSize
-
ChangeFontSize
-
getType
-
getFontName
- Returns:
- the fontName
-
setFontName
- 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
- Returns:
- the fontStyle
-
setFontStyle
- Parameters:
fontStyle- the fontStyle to set
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiGeom- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiGeom- Throws:
JSONException
-