public class StiLineSegmentGeom extends StiSegmentGeom
| Constructor and Description |
|---|
StiLineSegmentGeom(double x1,
double y1,
double x2,
double y2) |
StiLineSegmentGeom(StiPoint start,
StiPoint end) |
StiLineSegmentGeom(StiPoint start,
StiPoint end,
StiAnimation animation) |
| Modifier and Type | Method and Description |
|---|---|
StiAnimation |
getAnimation() |
double |
getX1() |
double |
getX2() |
double |
getY1() |
double |
getY2() |
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setAnimation(StiAnimation animation) |
void |
setX1(double x1) |
void |
setX2(double x2) |
void |
setY1(double y1) |
void |
setY2(double y2) |
getTypeSaveBrushToJsonObject, SaveGeomListToJsonObject, SavePointFArrayToJsonObject, SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject, SaveRectToJsonObjectpublic StiLineSegmentGeom(StiPoint start, StiPoint end, StiAnimation animation)
public StiLineSegmentGeom(double x1,
double y1,
double x2,
double y2)
public double getX1()
public void setX1(double x1)
x1 - the x1 to setpublic double getY1()
public void setY1(double y1)
y1 - the y1 to setpublic double getX2()
public void setX2(double x2)
x2 - the x2 to setpublic double getY2()
public void setY2(double y2)
y2 - the y2 to setpublic StiAnimation getAnimation()
public void setAnimation(StiAnimation animation)
animation - the animation to setpublic JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiSegmentGeomJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiSegmentGeomJSONExceptionCopyright © 2020 Stimulsoft. All Rights Reserved.