com.stimulsoft.base.context.chart.geoms
Class StiPieSegmentGeom

java.lang.Object
  extended by com.stimulsoft.base.context.chart.geoms.StiGeom
      extended by com.stimulsoft.base.context.chart.geoms.StiSegmentGeom
          extended by com.stimulsoft.base.context.chart.geoms.StiPieSegmentGeom
All Implemented Interfaces:
IStiJsonReportObject

public class StiPieSegmentGeom
extends StiSegmentGeom


Constructor Summary
StiPieSegmentGeom(StiRectangle rect, double startAngle, double sweepAngle, StiAnimation animation)
           
StiPieSegmentGeom(StiRectangle rect, float startAngle, float sweepAngle, StiAnimation animation)
           
 
Method Summary
 StiAnimation getAnimation()
           
 StiRectangle getRect()
           
 float getStartAngle()
           
 float getSweepAngle()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAnimation(StiAnimation animation)
           
 void setRect(StiRectangle rect)
           
 void setStartAngle(float startAngle)
           
 void setSweepAngle(float sweepAngle)
           
 
Methods inherited from class com.stimulsoft.base.context.chart.geoms.StiSegmentGeom
getType
 
Methods inherited from class com.stimulsoft.base.context.chart.geoms.StiGeom
SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiPieSegmentGeom

public StiPieSegmentGeom(StiRectangle rect,
                         float startAngle,
                         float sweepAngle,
                         StiAnimation animation)

StiPieSegmentGeom

public StiPieSegmentGeom(StiRectangle rect,
                         double startAngle,
                         double sweepAngle,
                         StiAnimation animation)
Method Detail

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