public class GLMapAnimation
extends java.lang.Object
GLMapAnimation define animation of objects parameters that will be executed synchronously.| Modifier and Type | Class and Description |
|---|---|
static interface |
GLMapAnimation.Animation |
static interface |
com.glmapview.GLNativeObject.Type |
| Modifier and Type | Field and Description |
|---|---|
static int |
EaseIn |
static int |
EaseInOut |
static int |
EaseOut |
static int |
Linear |
static int |
None |
| Constructor and Description |
|---|
GLMapAnimation(int animation,
double duration)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
setAngle(GLMapDrawable drawable,
float angle)
Set new angle of drawable
|
void |
setPosition(GLMapDrawable drawable,
MapPoint position)
Set new position of drawable
|
void |
setScale(GLMapDrawable drawable,
double scale)
Set new scale of drawable
|
public static final int None
public static final int Linear
public static final int EaseIn
public static final int EaseOut
public static final int EaseInOut
public GLMapAnimation(int animation,
double duration)
animation - kind of animationduration - duration of animationpublic void setPosition(GLMapDrawable drawable, MapPoint position)
drawable - drawable to modifyposition - new positionpublic void setScale(GLMapDrawable drawable, double scale)
drawable - drawable to modifyscale - new scalepublic void setAngle(GLMapDrawable drawable, float angle)
drawable - drawable to modifyangle - new anglepublic void dispose()
Copyright © 2017 GetYourMap. All Rights Reserved.