public class StiFontGeom extends StiGeom
| Constructor and Description |
|---|
StiFontGeom(StiFont font) |
StiFontGeom(java.lang.String fontName,
double fontSize,
StiEnumSet<StiFontStyle> style) |
| Modifier and Type | Method and Description |
|---|---|
static StiFontGeom |
ChangeFontSize(StiFont font,
double newFontSize) |
static StiFontGeom |
ChangeFontSize(StiFont font,
float newFontSize) |
java.lang.String |
getFontName() |
double |
getFontSize() |
StiEnumSet<StiFontStyle> |
getFontStyle() |
StiGeomType |
getType() |
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setFontName(java.lang.String fontName) |
void |
setFontSize(double fontSize) |
void |
setFontStyle(StiEnumSet<StiFontStyle> fontStyle) |
SaveBrushToJsonObject, SaveGeomListToJsonObject, SavePointFArrayToJsonObject, SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject, SaveRectToJsonObjectpublic StiFontGeom(StiFont font)
public StiFontGeom(java.lang.String fontName,
double fontSize,
StiEnumSet<StiFontStyle> style)
public static StiFontGeom ChangeFontSize(StiFont font, double newFontSize)
public static StiFontGeom ChangeFontSize(StiFont font, float newFontSize)
public StiGeomType getType()
public java.lang.String getFontName()
public void setFontName(java.lang.String fontName)
fontName - the fontName to setpublic double getFontSize()
public void setFontSize(double fontSize)
fontSize - the fontSize to setpublic StiEnumSet<StiFontStyle> getFontStyle()
public void setFontStyle(StiEnumSet<StiFontStyle> fontStyle)
fontStyle - the fontStyle to setpublic JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiGeomJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiGeomJSONExceptionCopyright © 2020 Stimulsoft. All Rights Reserved.