com.stimulsoft.base.context.chart.geoms
Class StiPenGeom

java.lang.Object
  extended by com.stimulsoft.base.context.chart.geoms.StiGeom
      extended by 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)
           
 
Method Summary
 StiPenAlignment getAlignment()
           
 java.lang.Object getBrush()
           
 StiPenLineCap getEndCap()
           
 StiPenStyle getPenStyle()
           
 StiPenLineCap getStartCap()
           
 float getThickness()
           
 StiGeomType getType()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAlignment(StiPenAlignment alignment)
           
 void setBrush(java.lang.Object brush)
           
 void setEndCap(StiPenLineCap endCap)
           
 void setPenStyle(StiPenStyle penStyle)
           
 void setStartCap(StiPenLineCap startCap)
           
 void setThickness(float thickness)
           
 
Methods inherited from class com.stimulsoft.base.context.chart.geoms.StiGeom
SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiPenGeom

public StiPenGeom(java.lang.Object brush)

StiPenGeom

public StiPenGeom(java.lang.Object brush,
                  float thickness)
Method Detail

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