Class StiRadialTickLabelBase
java.lang.Object
com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickBase
com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickLabelBase
com.stimulsoft.report.infographics.gauge.primitives.tick.StiRadialTickLabelBase
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiApplyStyleGauge,Cloneable
- Direct Known Subclasses:
StiRadialTickLabelCustom,StiRadialTickLabelMajor,StiRadialTickLabelMinor
Copyright Stimulsoft
-
Field Summary
Fields inherited from class com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickLabelBase
formatServiceFields inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
animation, scaleFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a copy of the current instance.voiddrawElement(StiGaugeContextPainter context) the rotation mode of labels.protected intgetMatrixRotation(StiGaugeContextPainter context, StiPoint centerPoint, StiSize textSize, StiLabelRotationMode rotateMode, double radius, double angle, StiRefObject<StiPoint> position) doublean additional rotation angle.voidLoadFromJsonObject(JSONObject jObject) voidsetLabelRotationMode(StiLabelRotationMode labelRotationMode) the rotation mode of labels.voidsetOffsetAngle(double offsetAngle) an additional rotation angle.Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickLabelBase
getFont, getTextBrush, getTextFormat, getTextForRender, getTextForRender, getTextForRender, setFont, setTextBrush, setTextFormatMethods inherited from class com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickBase
checkTickValue, getMajorCollections, getMaximumValue, getMinimumValue, getMinorCollections, getOffset, getOffset, getPlacement, getPlacement, getPointCollection, getSkipIndices, getSkipIndicesObj, getSkipValues, getSkipValuesObj, isSkipMajorValues, prepareGaugeElement, setMaximumValue, setMinimumValue, setOffset, setPlacement, setSkipIndices, setSkipIndicesObj, setSkipValues, setSkipValuesObjMethods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
cleanReference, createNew, getAnimation, getLocalizeName, getReference, getScale, setAnimation, setReference, setScaleMethods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
applyStyle, isAllowApplyStyle, setAllowApplyStyle
-
Constructor Details
-
StiRadialTickLabelBase
public StiRadialTickLabelBase()
-
-
Method Details
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiTickLabelBase- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiTickLabelBase- Throws:
JSONException
-
getLabelRotationMode
the rotation mode of labels.- Returns:
- the labelRotationMode
-
setLabelRotationMode
the rotation mode of labels.- Parameters:
labelRotationMode- the labelRotationMode to set
-
getOffsetAngle
public double getOffsetAngle()an additional rotation angle.- Returns:
- the offsetAngle
-
clone
Description copied from class:StiElementBaseCreates a new object that is a copy of the current instance.- Overrides:
clonein classStiTickLabelBase
-
setOffsetAngle
public void setOffsetAngle(double offsetAngle) an additional rotation angle.- Parameters:
offsetAngle- the offsetAngle to set
-
getElementType
- Overrides:
getElementTypein classStiGaugeElement
-
drawElement
- Overrides:
drawElementin classStiElementBase
-
getMatrixRotation
protected int getMatrixRotation(StiGaugeContextPainter context, StiPoint centerPoint, StiSize textSize, StiLabelRotationMode rotateMode, double radius, double angle, StiRefObject<StiPoint> position)
-