Class StiTextGeom
java.lang.Object
com.stimulsoft.report.painters.context.chart.geoms.StiGeom
com.stimulsoft.report.painters.context.chart.geoms.animation.StiAnimationGeom
com.stimulsoft.report.painters.context.chart.geoms.StiTextGeom
- All Implemented Interfaces:
IStiJsonReportObject
Copyright Stimulsoft
-
Field Summary
FieldsFields inherited from class com.stimulsoft.report.painters.context.chart.geoms.animation.StiAnimationGeom
interaction -
Constructor Summary
ConstructorsConstructorDescriptionStiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, boolean isRotatedText) StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, boolean isRotatedText, int elementIndex) StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, double angle, boolean antialiasing, boolean isRotatedText) StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, double angle, boolean antialiasing, StiRotationMode rotationMode, boolean isRotatedText) StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, double angle, boolean antialiasing, Integer maximalWidth, StiRotationMode rotationMode, boolean isRotatedText) StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, double angle, boolean antialiasing, Integer maximalWidth, StiRotationMode rotationMode, boolean isRotatedText, String toolTip) StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, double angle, boolean antialiasing, Integer maximalWidth, StiRotationMode rotationMode, boolean isRotatedText, String toolTip, StiAnimation animation) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAngle()getBrush()getFont()getText()getType()booleanbooleanbooleanvoidLoadFromJsonObject(JSONObject jObject) voidsetAngle(double angle) voidsetAntialiasing(boolean antialiasing) voidvoidsetFont(StiFontGeom font) voidsetLocation(Object location) voidsetMaximalWidth(Integer maximalWidth) voidsetRotatedText(boolean isRotatedText) voidsetRotationMode(StiRotationMode rotationMode) voidsetRounded(boolean isRounded) voidsetStringFormat(StiStringFormatGeom StringFormat) voidvoidsetToolTip(String toolTip) Methods inherited from class com.stimulsoft.report.painters.context.chart.geoms.animation.StiAnimationGeom
getAnimation, getInteraction, setAnimation, setInteractionMethods inherited from class com.stimulsoft.report.painters.context.chart.geoms.StiGeom
SaveBrushToJsonObject, SaveGeomListToJsonObject, SavePointFArrayToJsonObject, SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject, SaveRectToJsonObject
-
Field Details
-
elementIndex
public int elementIndex
-
-
Constructor Details
-
StiTextGeom
public StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, boolean isRotatedText) -
StiTextGeom
public StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, boolean isRotatedText, int elementIndex) -
StiTextGeom
public StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, double angle, boolean antialiasing, boolean isRotatedText) -
StiTextGeom
public StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, double angle, boolean antialiasing, StiRotationMode rotationMode, boolean isRotatedText) -
StiTextGeom
public StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, double angle, boolean antialiasing, Integer maximalWidth, StiRotationMode rotationMode, boolean isRotatedText) -
StiTextGeom
public StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, double angle, boolean antialiasing, Integer maximalWidth, StiRotationMode rotationMode, boolean isRotatedText, String toolTip) -
StiTextGeom
public StiTextGeom(String text, StiFontGeom font, StiBrush brush, Object location, StiStringFormatGeom StringFormat, double angle, boolean antialiasing, Integer maximalWidth, StiRotationMode rotationMode, boolean isRotatedText, String toolTip, StiAnimation animation)
-
-
Method Details
-
getToolTip
-
setToolTip
-
getType
-
getText
- Returns:
- the text
-
setText
- Parameters:
text- the text to set
-
getFont
- Returns:
- the font
-
setFont
- Parameters:
font- the font to set
-
isRounded
public boolean isRounded()- Returns:
- the isRounded
-
setRounded
public void setRounded(boolean isRounded) - Parameters:
isRounded- the isRounded to set
-
isRotatedText
public boolean isRotatedText()- Returns:
- the isRotatedText
-
setRotatedText
public void setRotatedText(boolean isRotatedText) - Parameters:
isRotatedText- the isRotatedText to set
-
getBrush
- Returns:
- the brush
-
setBrush
- Parameters:
brush- the brush to set
-
getLocation
- Returns:
- the location
-
setLocation
- Parameters:
location- the location to set
-
getStringFormat
- Returns:
- the StringFormat
-
setStringFormat
- Parameters:
StringFormat- the StringFormat to set
-
getAngle
public double getAngle()- Returns:
- the angle
-
setAngle
public void setAngle(double angle) - Parameters:
angle- the angle to set
-
isAntialiasing
public boolean isAntialiasing()- Returns:
- the antialiasing
-
setAntialiasing
public void setAntialiasing(boolean antialiasing) - Parameters:
antialiasing- the antialiasing to set
-
getMaximalWidth
- Returns:
- the maximalWidth
-
setMaximalWidth
- Parameters:
maximalWidth- the maximalWidth to set
-
getRotationMode
- Returns:
- the rotationMode
-
setRotationMode
- Parameters:
rotationMode- the rotationMode to set
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiAnimationGeom- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiAnimationGeom- Throws:
JSONException
-