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

java.lang.Object
  extended by com.stimulsoft.base.context.chart.geoms.StiGeom
All Implemented Interfaces:
IStiJsonReportObject
Direct Known Subclasses:
StiAnimationGeom, StiBorderGeom, StiCachedShadowGeom, StiCurveGeom, StiEllipseGeom, StiFontGeom, StiLineGeom, StiLinesGeom, StiPathGeom, StiPenGeom, StiPopClipGeom, StiPopSmothingModeGeom, StiPopTextRenderingHintGeom, StiPopTransformGeom, StiPushClipGeom, StiPushRotateTransformGeom, StiPushSmothingModeToAntiAliasGeom, StiPushTextRenderingHintToAntiAliasGeom, StiPushTranslateTransformGeom, StiSegmentGeom, StiShadowGeom, StiStringFormatGeom, StiTextGeom

public abstract class StiGeom
extends java.lang.Object
implements IStiJsonReportObject


Constructor Summary
StiGeom()
           
 
Method Summary
abstract  StiGeomType getType()
           
 void LoadFromJsonObject(JSONObject jObject)
           
protected  java.lang.String SaveBrushToJsonObject(java.lang.Object brush, StiJsonSaveMode mode)
           
protected  JSONObject[] SaveGeomListToJsonObject(java.util.List<StiSegmentGeom> geoms, StiJsonSaveMode mode)
           
protected  JSONObject[] SavePointFArrayToJsonObject(StiPoint[] points)
           
static JSONObject SavePointFToJsonObject(StiPoint pos)
           
static JSONObject SaveRectangleDToJsonObject(StiRectangle rect)
           
static JSONObject SaveRectangleFToJsonObject(StiRectangle rect)
           
static JSONObject SaveRectangleToJsonObject(StiRectangle rect)
           
protected  JSONObject SaveRectToJsonObject(java.lang.Object rect)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiGeom

public StiGeom()
Method Detail

getType

public abstract StiGeomType getType()

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Throws:
JSONException

SaveGeomListToJsonObject

protected JSONObject[] SaveGeomListToJsonObject(java.util.List<StiSegmentGeom> geoms,
                                                StiJsonSaveMode mode)
                                         throws JSONException
Throws:
JSONException

SavePointFArrayToJsonObject

protected JSONObject[] SavePointFArrayToJsonObject(StiPoint[] points)
                                            throws JSONException
Throws:
JSONException

SaveBrushToJsonObject

protected java.lang.String SaveBrushToJsonObject(java.lang.Object brush,
                                                 StiJsonSaveMode mode)

SaveRectToJsonObject

protected JSONObject SaveRectToJsonObject(java.lang.Object rect)
                                   throws JSONException
Throws:
JSONException

SavePointFToJsonObject

public static JSONObject SavePointFToJsonObject(StiPoint pos)
                                         throws JSONException
Throws:
JSONException

SaveRectangleFToJsonObject

public static JSONObject SaveRectangleFToJsonObject(StiRectangle rect)
                                             throws JSONException
Throws:
JSONException

SaveRectangleDToJsonObject

public static JSONObject SaveRectangleDToJsonObject(StiRectangle rect)
                                             throws JSONException
Throws:
JSONException

SaveRectangleToJsonObject

public static JSONObject SaveRectangleToJsonObject(StiRectangle rect)
                                            throws JSONException
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Throws:
JSONException


Copyright © 2018 Stimulsoft. All Rights Reserved.