com.stimulsoft.base.context.chart.geoms
Class StiPenGeom
java.lang.Object
com.stimulsoft.base.context.chart.geoms.StiGeom
com.stimulsoft.base.context.chart.geoms.StiPenGeom
- All Implemented Interfaces:
- IStiJsonReportObject
public class StiPenGeom
- extends StiGeom
Constructor Summary |
StiPenGeom(java.lang.Object brush)
|
StiPenGeom(java.lang.Object brush,
float thickness)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiPenGeom
public StiPenGeom(java.lang.Object brush)
StiPenGeom
public StiPenGeom(java.lang.Object brush,
float thickness)
getType
public StiGeomType getType()
- Specified by:
getType
in class StiGeom
getBrush
public java.lang.Object getBrush()
- Returns:
- the brush
setBrush
public void setBrush(java.lang.Object brush)
- Parameters:
brush
- the brush to set
getThickness
public float getThickness()
- Returns:
- the thickness
setThickness
public void setThickness(float thickness)
- Parameters:
thickness
- the thickness to set
getPenStyle
public StiPenStyle getPenStyle()
- Returns:
- the penStyle
setPenStyle
public void setPenStyle(StiPenStyle penStyle)
- Parameters:
penStyle
- the penStyle to set
getAlignment
public StiPenAlignment getAlignment()
- Returns:
- the alignment
setAlignment
public void setAlignment(StiPenAlignment alignment)
- Parameters:
alignment
- the alignment to set
getStartCap
public StiPenLineCap getStartCap()
- Returns:
- the startCap
setStartCap
public void setStartCap(StiPenLineCap startCap)
- Parameters:
startCap
- the startCap to set
getEndCap
public StiPenLineCap getEndCap()
- Returns:
- the endCap
setEndCap
public void setEndCap(StiPenLineCap endCap)
- Parameters:
endCap
- the endCap to set
SaveToJsonObject
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
- Specified by:
SaveToJsonObject
in interface IStiJsonReportObject
- Overrides:
SaveToJsonObject
in class StiGeom
- Throws:
JSONException
LoadFromJsonObject
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
- Specified by:
LoadFromJsonObject
in interface IStiJsonReportObject
- Overrides:
LoadFromJsonObject
in class StiGeom
- Throws:
JSONException