com.stimulsoft.base.context.chart.geoms
Class StiCurveSegmentGeom
java.lang.Object
com.stimulsoft.base.context.chart.geoms.StiGeom
com.stimulsoft.base.context.chart.geoms.StiSegmentGeom
com.stimulsoft.base.context.chart.geoms.StiCurveSegmentGeom
- All Implemented Interfaces:
- IStiJsonReportObject
public class StiCurveSegmentGeom
- extends StiSegmentGeom
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiCurveSegmentGeom
public StiCurveSegmentGeom(StiPoint[] points,
float tension)
StiCurveSegmentGeom
public StiCurveSegmentGeom(StiPoint[] points,
float tension,
StiAnimation animation)
getTension
public float getTension()
- Returns:
- the tension
setTension
public void setTension(float tension)
- Parameters:
tension
- the tension to set
getPoints
public StiPoint[] getPoints()
- Returns:
- the points
setPoints
public void setPoints(StiPoint[] points)
- Parameters:
points
- the points 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
getAnimation
public StiAnimation getAnimation()
- Returns:
- the animation
setAnimation
public void setAnimation(StiAnimation animation)
- Parameters:
animation
- the animation to set