Class StiBorderGeom
java.lang.Object
com.stimulsoft.report.painters.context.chart.geoms.StiGeom
com.stimulsoft.report.painters.context.chart.geoms.StiBorderGeom
- All Implemented Interfaces:
IStiJsonReportObject
Copyright Stimulsoft
-
Constructor Summary
ConstructorsConstructorDescriptionStiBorderGeom(StiBrush background, StiBrush backgroundMouseOver, StiPenGeom borderPen, StiRectangle rect, StiCornerRadius cornerRadius, StiInteractionDataGeom interaction, String tooltip, int elementIndex) StiBorderGeom(StiBrush background, StiPenGeom borderPen, StiRectangle rect, StiInteractionDataGeom interaction, int elementIndex) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAngle()getRect()getType()voidLoadFromJsonObject(JSONObject jObject) voidsetAngle(double angle) voidsetBackground(StiBrush background) voidsetBorderPen(StiPenGeom borderPen) voidsetCornerRadius(StiCornerRadius cornerRadius) voidsetInteraction(StiInteractionDataGeom interaction) voidsetRect(StiRectangle rect) voidsetRotationMode(StiRotationMode rotationMode) voidsetTooltip(String tooltip) Methods inherited from class com.stimulsoft.report.painters.context.chart.geoms.StiGeom
SaveBrushToJsonObject, SaveGeomListToJsonObject, SavePointFArrayToJsonObject, SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject, SaveRectToJsonObject
-
Constructor Details
-
StiBorderGeom
public StiBorderGeom(StiBrush background, StiPenGeom borderPen, StiRectangle rect, StiInteractionDataGeom interaction, int elementIndex) -
StiBorderGeom
public StiBorderGeom(StiBrush background, StiBrush backgroundMouseOver, StiPenGeom borderPen, StiRectangle rect, StiCornerRadius cornerRadius, StiInteractionDataGeom interaction, String tooltip, int elementIndex)
-
-
Method Details
-
getType
-
getBackground
- Returns:
- the background
-
setBackground
- Parameters:
background- the background to set
-
getBorderPen
- Returns:
- the borderPen
-
setBorderPen
- Parameters:
borderPen- the borderPen to set
-
getRect
- Returns:
- the rect
-
setRect
- Parameters:
rect- the rect to set
-
getInteraction
- Returns:
- the interaction
-
setInteraction
- Parameters:
interaction- the interaction to set
-
getTooltip
- Returns:
- the tooltip
-
setTooltip
- Parameters:
tooltip- the tooltip to set
-
getAngle
public double getAngle()- Returns:
- the angle
-
setAngle
public void setAngle(double angle) - Parameters:
angle- the angle to set
-
getRotationMode
- Returns:
- the rotationMode
-
setRotationMode
- Parameters:
rotationMode- the rotationMode to set
-
getCornerRadius
- Returns:
- the cornerRadius
-
setCornerRadius
- Parameters:
cornerRadius- the cornerRadius to set
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiGeom- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiGeom- Throws:
JSONException
-