Package globus.glmap
Class GLMapLabel
- java.lang.Object
-
- globus.glmap.GLNativeObject
-
- globus.glmap.GLMapDrawObject
-
- globus.glmap.GLMapDrawable
-
- globus.glmap.GLMapLabel
-
public class GLMapLabel extends GLMapDrawable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class globus.glmap.GLMapDrawable
GLMapDrawable.TransformMode
-
-
Constructor Summary
Constructors Constructor Description GLMapLabel()Creates new empty image that will be injected to mapGLMapLabel(int drawOrder)Creates new empty image with given draw order
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetText(java.lang.String text, GLMapVectorStyle style)Sets new text to drawvoidsetText(java.lang.String text, GLMapVectorStyle style, java.lang.Runnable onReadyToDraw)Sets new text to draw-
Methods inherited from class globus.glmap.GLMapDrawable
getAngle, getHeight, getOffset, getPosition, getScale, getWidth, hitTest, isRotatesWithMap, setAngle, setOffset, setPosition, setRotatesWithMap, setScale, setTransformMode
-
Methods inherited from class globus.glmap.GLMapDrawObject
getDrawOrder, isHidden, setHidden
-
Methods inherited from class globus.glmap.GLNativeObject
dispose
-
-
-
-
Method Detail
-
setText
public void setText(@NonNull java.lang.String text, @NonNull GLMapVectorStyle style, @Nullable java.lang.Runnable onReadyToDraw)Sets new text to draw- Parameters:
text- new text to drawstyle- style of the textonReadyToDraw- optional runnable that called when text ready to draw
-
setText
public void setText(@NonNull java.lang.String text, @NonNull GLMapVectorStyle style)Sets new text to draw- Parameters:
text- new text to drawstyle- style of the text
-
-