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

java.lang.Object
  extended by com.stimulsoft.base.context.chart.geoms.StiGeom
      extended by com.stimulsoft.base.context.chart.geoms.StiShadowGeom
All Implemented Interfaces:
IStiJsonReportObject

public class StiShadowGeom
extends StiGeom

Copyright Stimulsoft


Constructor Summary
StiShadowGeom(StiContext shadowContext, StiRectangle rect, double radius)
           
 
Method Summary
 double getRadius()
           
 StiRectangle getRect()
           
 StiContext getShadowContext()
           
 StiGeomType getType()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setRadius(double radius)
           
 void setRect(StiRectangle rect)
           
 void setShadowContext(StiContext shadowContext)
           
 
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

StiShadowGeom

public StiShadowGeom(StiContext shadowContext,
                     StiRectangle rect,
                     double radius)
Method Detail

getType

public StiGeomType getType()
Specified by:
getType in class StiGeom

getRect

public StiRectangle getRect()
Returns:
the rect

setRect

public void setRect(StiRectangle rect)
Parameters:
rect - the rect to set

getRadius

public double getRadius()
Returns:
the radius

setRadius

public void setRadius(double radius)
Parameters:
radius - the radius to set

getShadowContext

public StiContext getShadowContext()
Returns:
the shadowContext

setShadowContext

public void setShadowContext(StiContext shadowContext)
Parameters:
shadowContext - the shadowContext 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