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

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.StiArcSegmentGeom
All Implemented Interfaces:
IStiJsonReportObject

public class StiArcSegmentGeom
extends StiSegmentGeom


Constructor Summary
StiArcSegmentGeom(StiRectangle rect, double startAngle, double sweepAngle)
           
StiArcSegmentGeom(StiRectangle rect, float startAngle, float sweepAngle)
           
 
Method Summary
 StiRectangle getRect()
           
 float getStartAngle()
           
 float getSweepAngle()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 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

StiArcSegmentGeom

public StiArcSegmentGeom(StiRectangle rect,
                         float startAngle,
                         float sweepAngle)

StiArcSegmentGeom

public StiArcSegmentGeom(StiRectangle rect,
                         double startAngle,
                         double sweepAngle)
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

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