Constructor and Description |
---|
Overlay2DImage(int width_dp,
int height_dp,
Drawable image,
int anchor_point_x,
int anchor_point_y)
Initialize a new Overlay2DImage
|
Modifier and Type | Method and Description |
---|---|
com.mappedin.sdk.FocusPoints |
getPoints()
Returns a focusable object's 3D points
|
void |
setImage(Drawable newImage)
Sets the image used in the overlay.
|
void |
setRotation(float radian)
Rotates the overlay.
|
getMap, getPosition, setPosition, setPosition, setPosition
public Overlay2DImage(int width_dp, int height_dp, Drawable image, int anchor_point_x, int anchor_point_y)
width_dp
- the width of the 2D image Overlay, in dp.height_dp
- the height of the 2D image Overlay, in dp.image
- the Drawable
imagepublic void setRotation(float radian)
radian
- the amount to rotate the overlay bypublic void setImage(Drawable newImage)
newImage
- the Drawable
image to replace current overlay imagepublic com.mappedin.sdk.FocusPoints getPoints()
Focusable