com.stimulsoft.base.context.chart.geoms
Class StiLineGeom
java.lang.Object
com.stimulsoft.base.context.chart.geoms.StiGeom
com.stimulsoft.base.context.chart.geoms.StiLineGeom
- All Implemented Interfaces:
- IStiJsonReportObject
public class StiLineGeom
- extends StiGeom
Copyright Stimulsoft
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiLineGeom
public StiLineGeom(StiPenGeom pen,
double x1,
double y1,
double x2,
double y2)
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
getX1
public float getX1()
- Returns:
- the x1
setX1
public void setX1(float x1)
- Parameters:
x1
- the x1 to set
getY1
public float getY1()
- Returns:
- the y1
setY1
public void setY1(float y1)
- Parameters:
y1
- the y1 to set
getX2
public float getX2()
- Returns:
- the x2
setX2
public void setX2(float x2)
- Parameters:
x2
- the x2 to set
getY2
public float getY2()
- Returns:
- the y2
setY2
public void setY2(float y2)
- Parameters:
y2
- the y2 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