com.stimulsoft.base.context.chart.geoms
Class StiLineSegmentGeom
java.lang.Object
com.stimulsoft.base.context.chart.geoms.StiGeom
com.stimulsoft.base.context.chart.geoms.StiSegmentGeom
com.stimulsoft.base.context.chart.geoms.StiLineSegmentGeom
- All Implemented Interfaces:
- IStiJsonReportObject
public class StiLineSegmentGeom
- extends StiSegmentGeom
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiLineSegmentGeom
public StiLineSegmentGeom(StiPoint start,
StiPoint end)
StiLineSegmentGeom
public StiLineSegmentGeom(StiPoint start,
StiPoint end,
StiAnimation animation)
StiLineSegmentGeom
public StiLineSegmentGeom(double x1,
double y1,
double x2,
double y2)
getX1
public double getX1()
- Returns:
- the x1
setX1
public void setX1(double x1)
- Parameters:
x1
- the x1 to set
getY1
public double getY1()
- Returns:
- the y1
setY1
public void setY1(double y1)
- Parameters:
y1
- the y1 to set
getX2
public double getX2()
- Returns:
- the x2
setX2
public void setX2(double x2)
- Parameters:
x2
- the x2 to set
getY2
public double getY2()
- Returns:
- the y2
setY2
public void setY2(double y2)
- Parameters:
y2
- the y2 to set
getAnimation
public StiAnimation getAnimation()
- Returns:
- the animation
setAnimation
public void setAnimation(StiAnimation animation)
- Parameters:
animation
- the animation to set
SaveToJsonObject
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
- Specified by:
SaveToJsonObject
in interface IStiJsonReportObject
- Overrides:
SaveToJsonObject
in class StiSegmentGeom
- Throws:
JSONException
LoadFromJsonObject
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
- Specified by:
LoadFromJsonObject
in interface IStiJsonReportObject
- Overrides:
LoadFromJsonObject
in class StiSegmentGeom
- Throws:
JSONException