public class ImageOverlay extends Primitive
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isValid() |
void |
remove()
Removes the image overlay from the map.
|
Renderable |
selectTopMostRenderableAt(double[] touchPoint,
double radius)
Returns the renderable at the point provided.
|
void |
setAlpha(int alpha)
Sets the transparency for this image overlay.
|
void |
setImage(android.content.Context context,
int resourceId)
Use the given a resource id of image data for this overlay.
|
void |
update()
Prepare this
Renderable for rendering might be better. |
notifyDataChanged, registerDataChangeListener, release, setZIndex, unregisterDataChangeListenergetTag, getZIndex, isSelectable, isVisible, selectable, setTag, setVisibilitypublic void update()
RenderableRenderable for rendering might be better.public boolean isValid()
true if Renderable can be rendered by CustomOverlayRenderer.public void remove()
public void setImage(android.content.Context context,
int resourceId)
context - The Context to read the Drawable from.resourceId - The resource ID of the Drawable to use.public Renderable selectTopMostRenderableAt(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.public void setAlpha(int alpha)
alpha - The alpha/transparency value [0, 255], 0 being fully transparent and 255 being
fully opaque.