LabelAppearance
- class cee.mrk.LabelAppearance()
 Appearance settings for text labels
Accessors
Methods
Accessors
- cee.mrk.LabelAppearance.anchorPointColor
 The color of the anchor point
Note
anchorPointColor is deprecated: This property is deprecated and will be removed in a future version. Use
attachmentAppearance.anchorPointColorinstead.
- cee.mrk.LabelAppearance.anchorPointSize
 The size of the anchor point in pixels. To disable drawing of the anchor point set the size to zero.
Note
anchorPointSize is deprecated: This property is deprecated and will be removed in a future version. Use
attachmentAppearance.anchorPointSizeinstead.
- cee.mrk.LabelAppearance.backgroundColor
 Color of the filled background
- cee.mrk.LabelAppearance.backgroundVisible
 Flag that determines if the filled background of the labels should be drawn or not.
- cee.mrk.LabelAppearance.borderColor
 Color of the label border
- cee.mrk.LabelAppearance.borderVisible
 Flag that determines if border around the labels should be drawn or not.
- cee.mrk.LabelAppearance.borderWidth
 Width of the label border in pixels
- cee.mrk.LabelAppearance.cornerRadius
 Radius, in pixels, of rounded corners.
Setting a value of 0 disables rounded corners. Default 0
- cee.mrk.LabelAppearance.fontFamily
 Font family
Corresponds to the CSS font-family property
- cee.mrk.LabelAppearance.fontSize
 Font size in pixels
- cee.mrk.LabelAppearance.fontStyle
 Corresponds to the CSS font-style property
- cee.mrk.LabelAppearance.fontVariant
 Corresponds to the CSS font-variant property
- cee.mrk.LabelAppearance.fontWeight
 Corresponds to the CSS font-weight property
- cee.mrk.LabelAppearance.opacity
 The opacity of the label.
Setting the opacity will influence the label background and the border, but will not affect the actual label text. Opacity 1.0 is fully opaque, 0.0 if fully transparent (invisible).
- cee.mrk.LabelAppearance.textColor
 The color of the text
Methods
getAsProperties
- cee.mrk.LabelAppearance.getAsProperties()
 Gets the appearance settings for this labels part as a Plain Old JavaScript Object (POJO).
- Return type
 cee.mrk.LabelAppearanceProperties
setFromProperties
- cee.mrk.LabelAppearance.setFromProperties(props)
 Applies the settings in the given properties object to this appearance object
- Arguments
 props (
Partial[cee.mrk.LabelAppearanceProperties]) –
- Return type
 void