public class StiArrowShapeType extends StiShapeTypeService
propertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiArrowShapeType()
Creates a new arrow.
|
StiArrowShapeType(StiShapeDirection direction,
float arrowWidth,
float arrowHeight)
Creates a new arrow with specified arguments.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getArrowHeight()
Gets or sets the arrow height factor.
|
float |
getArrowWidth()
Gets or sets the arrow width factor.
|
StiShapeDirection |
getDirection()
Gets or sets the arrow direction.
|
java.lang.String |
getServiceName()
Gets a service name.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setArrowHeight(float value) |
void |
setArrowWidth(float value) |
void |
setDirection(StiShapeDirection value) |
getServiceCategory, getServiceType, LoadFromJsonObjectInternal, paint, toStringclone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledcleanReference, getReference, setReferencepublic StiArrowShapeType()
public StiArrowShapeType(StiShapeDirection direction, float arrowWidth, float arrowHeight)
direction - Arrow direction.arrowWidth - Arrow width factor.arrowHeight - Arrow height factor.public java.lang.String getServiceName()
getServiceName in class StiServicepublic StiShapeDirection getDirection()
public void setDirection(StiShapeDirection value)
public float getArrowWidth()
public void setArrowWidth(float value)
public float getArrowHeight()
public void setArrowHeight(float value)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiShapeTypeServiceJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiShapeTypeServiceJSONExceptionCopyright © 2019 Stimulsoft. All Rights Reserved.