public class

LabelStyle

extends BillboardStyle
java.lang.Object
   ↳ com.carto.styles.Style
     ↳ com.carto.styles.BillboardStyle
       ↳ com.carto.styles.LabelStyle
Known Direct Subclasses

Class Overview

A style for labels. Contains attributes for configuring how the label is drawn on the screen.

Summary

Public Methods
synchronized void delete()
float getAnchorPointX()
Returns the horizontal anchor point of the label.
float getAnchorPointY()
Returns the vertical anchor point of the label.
BillboardOrientation getOrientationMode()
Returns the orientation mode of the label.
float getRenderScale()
Returns the relative rendering scale of the label.
BillboardScaling getScalingMode()
Returns the scaling mode of the label.
boolean isFlippable()
Returns the state of the flippable flag.
[Expand]
Inherited Methods
From class com.carto.styles.BillboardStyle
From class com.carto.styles.Style
From class java.lang.Object

Public Methods

public synchronized void delete ()

public float getAnchorPointX ()

Returns the horizontal anchor point of the label.

Returns
  • The horizontal anchor point of the label.

public float getAnchorPointY ()

Returns the vertical anchor point of the label.

Returns
  • The vertical anchor point of the label.

public BillboardOrientation getOrientationMode ()

Returns the orientation mode of the label.

Returns
  • The orientation mode of the label.

public float getRenderScale ()

Returns the relative rendering scale of the label.

Returns
  • The relative rendering scale of the label.

public BillboardScaling getScalingMode ()

Returns the scaling mode of the label.

Returns
  • The scaling mode of the label.

public boolean isFlippable ()

Returns the state of the flippable flag.

Returns
  • True if the label is flippable.