Class StiLineSegmentGeom
java.lang.Object
com.stimulsoft.report.painters.context.chart.geoms.StiGeom
com.stimulsoft.report.painters.context.chart.geoms.StiSegmentGeom
com.stimulsoft.report.painters.context.chart.geoms.StiLineSegmentGeom
- All Implemented Interfaces:
IStiJsonReportObject
-
Constructor Summary
ConstructorsConstructorDescriptionStiLineSegmentGeom(double x1, double y1, double x2, double y2) StiLineSegmentGeom(StiPoint start, StiPoint end) StiLineSegmentGeom(StiPoint start, StiPoint end, StiAnimation animation) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetX1()doublegetX2()doublegetY1()doublegetY2()voidLoadFromJsonObject(JSONObject jObject) voidsetAnimation(StiAnimation animation) voidsetX1(double x1) voidsetX2(double x2) voidsetY1(double y1) voidsetY2(double y2) Methods inherited from class com.stimulsoft.report.painters.context.chart.geoms.StiSegmentGeom
getTypeMethods inherited from class com.stimulsoft.report.painters.context.chart.geoms.StiGeom
SaveBrushToJsonObject, SaveGeomListToJsonObject, SavePointFArrayToJsonObject, SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject, SaveRectToJsonObject
-
Constructor Details
-
StiLineSegmentGeom
-
StiLineSegmentGeom
-
StiLineSegmentGeom
public StiLineSegmentGeom(double x1, double y1, double x2, double y2)
-
-
Method Details
-
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
- Returns:
- the animation
-
setAnimation
- Parameters:
animation- the animation to set
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiSegmentGeom- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiSegmentGeom- Throws:
JSONException
-