com.stimulsoft.base.context.chart.geoms
Class StiCurveGeom
java.lang.Object
com.stimulsoft.base.context.chart.geoms.StiGeom
com.stimulsoft.base.context.chart.geoms.StiCurveGeom
- All Implemented Interfaces:
- IStiJsonReportObject
public class StiCurveGeom
- extends StiGeom
Copyright Stimulsoft
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiCurveGeom
public StiCurveGeom(StiPenGeom pen,
StiPoint[] points,
float tension,
boolean useZoom)
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