-
-
Gets or sets the color of the text background frame.
new Color(0.165, 0.165, 0.165, 0.8)
-
-
Gets or sets the fill color of the label.
Color.WHITE
See:
-
-
Get or set the text filling style.
LabelStyle.FILL
-
-
Get or set the font of the label. The syntax rules of the font are the same as the rules of "font" in CSS.
'30px sans-serif'
See:
-
-
Gets or sets the height mode of the text label, including absolute height, relative height, etc.
-
-
Gets or sets the color of the text border.
Color.BLACK
See:
-
-
Gets or sets the width of the text border.
1.0
See:
-
-
Get or set the pixel offset of the text label based on the anchor point. This function is mainly used for complex arrangement when there are both labels and billboards in the same position. Shift from left to right when increasing x, and shift from top to bottom when increasing y. After offsetting, the original position of the label will be indicated by a small yellow dot.
Cartesian2.ZERO
-
-
Gets or sets the zoom size of the text. The default value is 1, which means no zoom.
1.0
-
-
Gets or sets whether to display the text background frame.
false
-
-
Or set the text content of the text label from which field of the attribute.