public class Polyline extends Primitive
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getColor()
Gets the color of this polyline.
|
Renderable |
getRenderableAt(double[] touchPoint,
double radius)
Returns the renderable at the point provided.
|
float |
getWidth()
Gets the width of this polyline.
|
int |
hashCode() |
boolean |
isValid() |
void |
remove()
Removes the polyline from the map.
|
void |
setColor(int color)
Sets the color of this polyline.
|
void |
setWidth(float width)
Sets the line width of this polyline.
|
void |
update()
Prepare this
Renderable for rendering might be better. |
registerDataChangeListener, release, setZIndex, unregisterDataChangeListenergetTag, getZIndex, isSelectable, isVisible, selectable, setTag, setVisibilitypublic void setColor(int color)
color - The color in ARGB formatpublic int getColor()
public void setWidth(float width)
width - the line width in screen pixels.public float getWidth()
public void update()
RenderableRenderable for rendering might be better.public boolean isValid()
true if Renderable can be rendered by CustomOverlayRenderer.public void remove()
public Renderable getRenderableAt(double[] touchPoint, double radius)
RenderabletouchPoint - the point to check whether a renderable exists, values in world coordinates.radius - the touchPoint, where the renderables are checked for, in world coordinates.