public class StiLineGeom extends StiGeom
| Constructor and Description |
|---|
StiLineGeom(StiPenGeom pen,
double x1,
double y1,
double x2,
double y2) |
| Modifier and Type | Method and Description |
|---|---|
StiPenGeom |
getPen() |
StiGeomType |
getType() |
float |
getX1() |
float |
getX2() |
float |
getY1() |
float |
getY2() |
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setPen(StiPenGeom pen) |
void |
setX1(float x1) |
void |
setX2(float x2) |
void |
setY1(float y1) |
void |
setY2(float y2) |
SaveBrushToJsonObject, SaveGeomListToJsonObject, SavePointFArrayToJsonObject, SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject, SaveRectToJsonObjectpublic StiLineGeom(StiPenGeom pen, double x1, double y1, double x2, double y2)
public StiGeomType getType()
public StiPenGeom getPen()
public void setPen(StiPenGeom pen)
pen - the pen to setpublic float getX1()
public void setX1(float x1)
x1 - the x1 to setpublic float getY1()
public void setY1(float y1)
y1 - the y1 to setpublic float getX2()
public void setX2(float x2)
x2 - the x2 to setpublic float getY2()
public void setY2(float y2)
y2 - the y2 to setpublic JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiGeomJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiGeomJSONExceptionCopyright © 2020 Stimulsoft. All Rights Reserved.