public class CIMCharacterMarker extends CIMMarker
| Constructor and Description |
|---|
CIMCharacterMarker() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMCharacterMarker |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
int |
getCharacterIndex()
Gets the Unicode decimal value for the individual glyph of the font that defines the shape of the marker.
|
double |
getDepth3D()
Gets the depth of the marker when drawn in 3D.
|
java.lang.String |
getFontFamilyName()
Gets the font family name of the font.
|
java.lang.String |
getFontStyleName()
Gets the style name for the font family.
|
FontType |
getFontType()
Gets the font type.
|
CIMFontVariation[] |
getFontVariationSettings()
Gets an array of CIM font variation objects, describing a particular instance of a variable font through the font axis tags and their values.
|
boolean |
getRespectFrame()
Gets a value indicating whether the frame of the character marker should be honored when transforming the marker.
|
boolean |
getScaleSymbolsProportionally()
Gets a value indicating whether the strokes and/or fills of a marker are scaled proportionally when the symbol size is changed.
|
double |
getScaleX()
Gets the width of the symbol without changing the height (or depth in 3D), as a ratio.
|
CIMPolygonSymbol |
getSymbol()
Gets the polygon symbol that is used to renderer the marker.
|
boolean |
getVerticalOrientation3D()
Gets a value indicating whether the marker stands a marker upright as though locked in place.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setCharacterIndex(int characterIndex)
Sets the Unicode decimal value for the individual glyph of the font that defines the shape of the marker.
|
void |
setDepth3D(double depth3D)
Sets the depth of the marker when drawn in 3D.
|
void |
setFontFamilyName(java.lang.String fontFamilyName)
Sets the font family name of the font.
|
void |
setFontStyleName(java.lang.String fontStyleName)
Sets the style name for the font family.
|
void |
setFontType(FontType fontType)
Sets the font type.
|
void |
setFontVariationSettings(CIMFontVariation[] fontVariationSettings)
Sets an array of CIM font variation objects, describing a particular instance of a variable font through the font axis tags and their values.
|
void |
setRespectFrame(boolean respectFrame)
Sets a value indicating whether the frame of the character marker should be honored when transforming the marker.
|
void |
setScaleSymbolsProportionally(boolean scaleSymbolsProportionally)
Sets a value indicating whether the strokes and/or fills of a marker are scaled proportionally when the symbol size is changed.
|
void |
setScaleX(double scaleX)
Sets the width of the symbol without changing the height (or depth in 3D), as a ratio.
|
void |
setSymbol(CIMPolygonSymbol symbol)
Sets the polygon symbol that is used to renderer the marker.
|
void |
setVerticalOrientation3D(boolean verticalOrientation3D)
Sets a value indicating whether the marker stands a marker upright as though locked in place.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getAnchorPoint, getAnchorPointUnits, getAngleX, getAngleY, getBillboardMode3D, getDominantSizeAxis3D, getMarkerPlacement, getOffsetX, getOffsetY, getOffsetZ, getRotateClockwise, getRotation, getSize, setAnchorPoint, setAnchorPointUnits, setAngleX, setAngleY, setBillboardMode3D, setDominantSizeAxis3D, setMarkerPlacement, setOffsetX, setOffsetY, setOffsetZ, setRotateClockwise, setRotation, setSizegetAnimations, getColorLocked, getEffects, getEnable, getName, getOverprint, getPrimitiveName, setAnimations, setColorLocked, setEffects, setEnable, setName, setOverprint, setPrimitiveNamepublic int getCharacterIndex()
public void setCharacterIndex(int characterIndex)
public double getDepth3D()
public void setDepth3D(double depth3D)
public java.lang.String getFontFamilyName()
public void setFontFamilyName(java.lang.String fontFamilyName)
public java.lang.String getFontStyleName()
public void setFontStyleName(java.lang.String fontStyleName)
public FontType getFontType()
public void setFontType(FontType fontType)
public CIMFontVariation[] getFontVariationSettings()
public void setFontVariationSettings(CIMFontVariation[] fontVariationSettings)
public double getScaleX()
public void setScaleX(double scaleX)
public CIMPolygonSymbol getSymbol()
public void setSymbol(CIMPolygonSymbol symbol)
public boolean getVerticalOrientation3D()
public void setVerticalOrientation3D(boolean verticalOrientation3D)
public boolean getScaleSymbolsProportionally()
public void setScaleSymbolsProportionally(boolean scaleSymbolsProportionally)
public boolean getRespectFrame()
public void setRespectFrame(boolean respectFrame)
public static CIMCharacterMarker fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMMarkerCIMJSONExceptionpublic void serialize(JSONObject jsonObject)