Class StiPieSegmentGeom
java.lang.Object
com.stimulsoft.report.painters.context.chart.geoms.StiGeom
com.stimulsoft.report.painters.context.chart.geoms.StiSegmentGeom
com.stimulsoft.report.painters.context.chart.geoms.StiPieSegmentGeom
- All Implemented Interfaces:
IStiJsonReportObject
-
Constructor Summary
ConstructorsConstructorDescriptionStiPieSegmentGeom(StiRectangle rect, double startAngle, double sweepAngle, StiAnimation animation) StiPieSegmentGeom(StiRectangle rect, float startAngle, float sweepAngle, float realStartAngle, float realSweepAngle, StiAnimation animation) StiPieSegmentGeom(StiRectangle rect, float startAngle, float sweepAngle, StiAnimation animation) -
Method Summary
Modifier and TypeMethodDescriptiongetRect()floatfloatbooleanvoidLoadFromJsonObject(JSONObject jObject) voidsetAnimation(StiAnimation animation) voidsetRect(StiRectangle rect) voidsetStartAngle(float startAngle) voidsetSweepAngle(float sweepAngle) Methods inherited from class com.stimulsoft.report.painters.context.chart.geoms.StiSegmentGeom
getTypeMethods inherited from class com.stimulsoft.report.painters.context.chart.geoms.StiGeom
SaveBrushToJsonObject, SaveGeomListToJsonObject, SavePointFArrayToJsonObject, SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject, SaveRectToJsonObject
-
Constructor Details
-
StiPieSegmentGeom
public StiPieSegmentGeom(StiRectangle rect, float startAngle, float sweepAngle, StiAnimation animation) -
StiPieSegmentGeom
public StiPieSegmentGeom(StiRectangle rect, double startAngle, double sweepAngle, StiAnimation animation) -
StiPieSegmentGeom
public StiPieSegmentGeom(StiRectangle rect, float startAngle, float sweepAngle, float realStartAngle, float realSweepAngle, StiAnimation animation)
-
-
Method Details
-
isCrossElipseDraw
public boolean isCrossElipseDraw() -
getRealStartAngle
-
getRealSweepAngle
-
getRect
- Returns:
- the rect
-
setRect
- 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
- Returns:
- the animation
-
setAnimation
- Parameters:
animation- the animation to set
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiSegmentGeom- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiSegmentGeom- Throws:
JSONException
-