com.stimulsoft.base.context.chart.geoms
Class StiPieSegmentGeom
java.lang.Object
com.stimulsoft.base.context.chart.geoms.StiGeom
com.stimulsoft.base.context.chart.geoms.StiSegmentGeom
com.stimulsoft.base.context.chart.geoms.StiPieSegmentGeom
- All Implemented Interfaces:
- IStiJsonReportObject
public class StiPieSegmentGeom
- extends StiSegmentGeom
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiPieSegmentGeom
public StiPieSegmentGeom(StiRectangle rect,
float startAngle,
float sweepAngle,
StiAnimation animation)
StiPieSegmentGeom
public StiPieSegmentGeom(StiRectangle rect,
double startAngle,
double sweepAngle,
StiAnimation animation)
getRect
public StiRectangle getRect()
- Returns:
- the rect
setRect
public void setRect(StiRectangle rect)
- Parameters:
rect
- the rect to set
getStartAngle
public float getStartAngle()
- Returns:
- the startAngle
setStartAngle
public void setStartAngle(float startAngle)
- Parameters:
startAngle
- the startAngle to set
getSweepAngle
public float getSweepAngle()
- Returns:
- the sweepAngle
setSweepAngle
public void setSweepAngle(float sweepAngle)
- Parameters:
sweepAngle
- the sweepAngle to set
getAnimation
public StiAnimation getAnimation()
- Returns:
- the animation
setAnimation
public void setAnimation(StiAnimation animation)
- Parameters:
animation
- the animation to set
SaveToJsonObject
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
- Specified by:
SaveToJsonObject
in interface IStiJsonReportObject
- Overrides:
SaveToJsonObject
in class StiSegmentGeom
- Throws:
JSONException
LoadFromJsonObject
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
- Specified by:
LoadFromJsonObject
in interface IStiJsonReportObject
- Overrides:
LoadFromJsonObject
in class StiSegmentGeom
- Throws:
JSONException