com.stimulsoft.base.context.chart.geoms
Class StiTextGeom
java.lang.Object
com.stimulsoft.base.context.chart.geoms.StiGeom
com.stimulsoft.base.context.chart.geoms.StiTextGeom
- All Implemented Interfaces:
- IStiJsonReportObject
public class StiTextGeom
- extends StiGeom
Copyright Stimulsoft
Constructor Summary |
StiTextGeom(java.lang.String text,
StiFontGeom font,
java.lang.Object brush,
java.lang.Object location,
StiStringFormatGeom stringFormat,
boolean isRotatedText,
int elementIndex)
|
StiTextGeom(java.lang.String text,
StiFontGeom font,
java.lang.Object brush,
java.lang.Object location,
StiStringFormatGeom stringFormat,
float angle,
boolean antialiasing,
boolean isRotatedText)
|
StiTextGeom(java.lang.String text,
StiFontGeom font,
java.lang.Object brush,
java.lang.Object location,
StiStringFormatGeom stringFormat,
float angle,
boolean antialiasing,
java.lang.Integer maximalWidth,
StiRotationMode rotationMode,
boolean isRotatedText)
|
StiTextGeom(java.lang.String text,
StiFontGeom font,
java.lang.Object brush,
java.lang.Object location,
StiStringFormatGeom stringFormat,
float angle,
boolean antialiasing,
StiRotationMode rotationMode,
boolean isRotatedText)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elementIndex
public int elementIndex
StiTextGeom
public StiTextGeom(java.lang.String text,
StiFontGeom font,
java.lang.Object brush,
java.lang.Object location,
StiStringFormatGeom stringFormat,
boolean isRotatedText,
int elementIndex)
StiTextGeom
public StiTextGeom(java.lang.String text,
StiFontGeom font,
java.lang.Object brush,
java.lang.Object location,
StiStringFormatGeom stringFormat,
float angle,
boolean antialiasing,
boolean isRotatedText)
StiTextGeom
public StiTextGeom(java.lang.String text,
StiFontGeom font,
java.lang.Object brush,
java.lang.Object location,
StiStringFormatGeom stringFormat,
float angle,
boolean antialiasing,
StiRotationMode rotationMode,
boolean isRotatedText)
StiTextGeom
public StiTextGeom(java.lang.String text,
StiFontGeom font,
java.lang.Object brush,
java.lang.Object location,
StiStringFormatGeom stringFormat,
float angle,
boolean antialiasing,
java.lang.Integer maximalWidth,
StiRotationMode rotationMode,
boolean isRotatedText)
getType
public StiGeomType getType()
- Specified by:
getType
in class StiGeom
getText
public java.lang.String getText()
- Returns:
- the text
setText
public void setText(java.lang.String text)
- Parameters:
text
- the text to set
getFont
public StiFontGeom getFont()
- Returns:
- the font
setFont
public void setFont(StiFontGeom font)
- 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
public java.lang.Object getBrush()
- Returns:
- the brush
setBrush
public void setBrush(java.lang.Object brush)
- Parameters:
brush
- the brush to set
getLocation
public java.lang.Object getLocation()
- Returns:
- the location
setLocation
public void setLocation(java.lang.Object location)
- Parameters:
location
- the location to set
getStringFormat
public StiStringFormatGeom getStringFormat()
- Returns:
- the stringFormat
setStringFormat
public void setStringFormat(StiStringFormatGeom stringFormat)
- Parameters:
stringFormat
- the stringFormat to set
getAngle
public float getAngle()
- Returns:
- the angle
setAngle
public void setAngle(float 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
public java.lang.Integer getMaximalWidth()
- Returns:
- the maximalWidth
setMaximalWidth
public void setMaximalWidth(java.lang.Integer maximalWidth)
- Parameters:
maximalWidth
- the maximalWidth to set
getRotationMode
public StiRotationMode getRotationMode()
- Returns:
- the rotationMode
setRotationMode
public void setRotationMode(StiRotationMode rotationMode)
- Parameters:
rotationMode
- the rotationMode 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