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

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

public class StiCurveSegmentGeom
extends StiSegmentGeom


Constructor Summary
StiCurveSegmentGeom(StiPoint[] points, float tension)
           
StiCurveSegmentGeom(StiPoint[] points, float tension, StiAnimation animation)
           
 
Method Summary
 StiAnimation getAnimation()
           
 StiPoint[] getPoints()
           
 float getTension()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAnimation(StiAnimation animation)
           
 void setPoints(StiPoint[] points)
           
 void setTension(float tension)
           
 
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

StiCurveSegmentGeom

public StiCurveSegmentGeom(StiPoint[] points,
                           float tension)

StiCurveSegmentGeom

public StiCurveSegmentGeom(StiPoint[] points,
                           float tension,
                           StiAnimation animation)
Method Detail

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