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

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

public class StiCurveGeom
extends StiGeom

Copyright Stimulsoft


Constructor Summary
StiCurveGeom(StiPenGeom pen, StiPoint[] points, float tension, boolean useZoom)
           
 
Method Summary
 StiPenGeom getPen()
           
 StiPoint[] getPoints()
           
 float getTension()
           
 StiGeomType getType()
           
 boolean isUseZoom()
           
 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.StiGeom
SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiCurveGeom

public StiCurveGeom(StiPenGeom pen,
                    StiPoint[] points,
                    float tension,
                    boolean useZoom)
Method Detail

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

getTension

public float getTension()
Returns:
the tension

isUseZoom

public boolean isUseZoom()
Returns:
the useZoom

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 StiGeom
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Overrides:
LoadFromJsonObject in class StiGeom
Throws:
JSONException