public class StiRadialTickMarkCustomValue extends StiCustomValueBase
| Modifier and Type | Field and Description |
|---|---|
boolean |
useBorderBrush |
boolean |
useBorderWidth |
boolean |
useBrush |
offset, placement, value| Constructor and Description |
|---|
StiRadialTickMarkCustomValue() |
StiRadialTickMarkCustomValue(double value) |
StiRadialTickMarkCustomValue(double value,
java.lang.Double offset,
java.lang.Double relativeWidth,
java.lang.Double relativeHeight,
java.lang.Double offsetAngle,
StiPlacement placement,
StiBrush brush,
StiBrush borderBrush,
java.lang.Double borderWidth,
StiGaugeElementSkin skin) |
StiRadialTickMarkCustomValue(double value,
java.lang.Double offset,
java.lang.Double relativeWidth,
java.lang.Double relativeHeight,
java.lang.Double offsetAngle,
StiPlacement placement,
StiGaugeElementSkin skin) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance.
|
StiCustomValueBase |
createNew() |
StiBrush |
getBorderBrush()
the border of the component.
|
java.lang.Double |
getBorderWidth()
the border thickness of the component.
|
StiBrush |
getBrush()
a brush to fill a component.
|
StiComponentId |
getComponentId() |
java.lang.String |
getLocalizedName() |
java.lang.Double |
getOffsetAngle()
an additional rotation angle.
|
java.lang.Double |
getRelativeHeight()
the height factor relative to the height of the basic component.
|
java.lang.Double |
getRelativeWidth()
the width ratio relative to the height of the basic component.
|
StiGaugeElementSkin |
getSkin()
the skin of the component rendering.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setBorderBrush(StiBrush borderBrush)
the border of the component.
|
void |
setBorderWidth(java.lang.Double borderWidth)
the border thickness of the component.
|
void |
setBrush(StiBrush brush)
a brush to fill a component.
|
void |
setOffsetAngle(java.lang.Double offsetAngle)
an additional rotation angle.
|
void |
setRelativeHeight(java.lang.Double relativeHeight)
the height factor relative to the height of the basic component.
|
void |
setRelativeWidth(java.lang.Double relativeWidth)
the width ratio relative to the height of the basic component.
|
void |
setSkin(StiGaugeElementSkin skin)
the skin of the component rendering.
|
java.lang.String |
toString() |
getOffset, getPlacement, getValue, setOffset, setPlacement, setValuepublic boolean useBrush
public boolean useBorderBrush
public boolean useBorderWidth
public StiRadialTickMarkCustomValue()
public StiRadialTickMarkCustomValue(double value)
public StiRadialTickMarkCustomValue(double value,
java.lang.Double offset,
java.lang.Double relativeWidth,
java.lang.Double relativeHeight,
java.lang.Double offsetAngle,
StiPlacement placement,
StiGaugeElementSkin skin)
public StiRadialTickMarkCustomValue(double value,
java.lang.Double offset,
java.lang.Double relativeWidth,
java.lang.Double relativeHeight,
java.lang.Double offsetAngle,
StiPlacement placement,
StiBrush brush,
StiBrush borderBrush,
java.lang.Double borderWidth,
StiGaugeElementSkin skin)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in class StiCustomValueBaseJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in class StiCustomValueBaseJSONExceptionpublic StiComponentId getComponentId()
getComponentId in class StiCustomValueBasepublic java.lang.Object clone()
StiCustomValueBaseclone in class StiCustomValueBasepublic java.lang.Double getRelativeWidth()
public void setRelativeWidth(java.lang.Double relativeWidth)
relativeWidth - the relativeWidth to setpublic java.lang.Double getRelativeHeight()
public void setRelativeHeight(java.lang.Double relativeHeight)
relativeHeight - the relativeHeight to setpublic java.lang.Double getOffsetAngle()
public void setOffsetAngle(java.lang.Double offsetAngle)
offsetAngle - the offsetAngle to setpublic StiGaugeElementSkin getSkin()
public void setSkin(StiGaugeElementSkin skin)
skin - the skin to setpublic StiBrush getBrush()
public void setBrush(StiBrush brush)
brush - the brush to setpublic StiBrush getBorderBrush()
public void setBorderBrush(StiBrush borderBrush)
borderBrush - the borderBrush to setpublic java.lang.Double getBorderWidth()
public void setBorderWidth(java.lang.Double borderWidth)
borderWidth - the borderWidth to setpublic java.lang.String getLocalizedName()
getLocalizedName in class StiCustomValueBasepublic java.lang.String toString()
toString in class java.lang.Objectpublic StiCustomValueBase createNew()
createNew in class StiCustomValueBaseCopyright © 2019 Stimulsoft. All Rights Reserved.