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

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

public class StiLinesGeom
extends StiGeom

Copyright Stimulsoft


Constructor Summary
StiLinesGeom(StiPenGeom pen, StiPoint[] points, boolean useZoom)
           
 
Method Summary
 StiPenGeom getPen()
           
 StiPoint[] getPoints()
           
 StiGeomType getType()
           
 boolean isUseZoom()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setPen(StiPenGeom pen)
           
 void setPoints(StiPoint[] points)
           
 
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

StiLinesGeom

public StiLinesGeom(StiPenGeom pen,
                    StiPoint[] points,
                    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

getPoints

public StiPoint[] getPoints()
Returns:
the points

setPoints

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

isUseZoom

public boolean isUseZoom()
Returns:
the useZoom

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