com.stimulsoft.base.context.chart.geoms.animaton
Class StiCurveAnimationGeom

java.lang.Object
  extended by com.stimulsoft.base.context.chart.geoms.StiGeom
      extended by com.stimulsoft.base.context.chart.geoms.animaton.StiAnimationGeom
          extended by com.stimulsoft.base.context.chart.geoms.animaton.StiCurveAnimationGeom
All Implemented Interfaces:
IStiJsonReportObject

public class StiCurveAnimationGeom
extends StiAnimationGeom

Copyright Stimulsoft


Field Summary
 
Fields inherited from class com.stimulsoft.base.context.chart.geoms.animaton.StiAnimationGeom
interaction
 
Constructor Summary
StiCurveAnimationGeom(StiPenGeom pen, StiPoint[] points, float tension, StiAnimation animation)
           
 
Method Summary
 StiPenGeom getPen()
           
 StiPoint[] getPoints()
           
 float getTension()
           
 StiGeomType getType()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setPen(StiPenGeom pen)
           
 void setPoints(StiPoint[] points)
           
 void setTension(float tension)
           
 
Methods inherited from class com.stimulsoft.base.context.chart.geoms.animaton.StiAnimationGeom
getAnimation, getInteraction, setAnimation, setInteraction
 
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

StiCurveAnimationGeom

public StiCurveAnimationGeom(StiPenGeom pen,
                             StiPoint[] points,
                             float tension,
                             StiAnimation animation)
Method Detail

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Overrides:
SaveToJsonObject in class StiAnimationGeom
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Overrides:
LoadFromJsonObject in class StiAnimationGeom

getType

public StiGeomType getType()
Specified by:
getType in class StiGeom

getPen

public StiPenGeom getPen()
Returns:
the pen

setPen

public void setPen(StiPenGeom pen)
Parameters:
pen - the pen to set

getPoints

public StiPoint[] getPoints()
Returns:
the points

setPoints

public void setPoints(StiPoint[] points)
Parameters:
points - the points to set

getTension

public float getTension()
Returns:
the tension

setTension

public void setTension(float tension)
Parameters:
tension - the tension to set