public class ImageMessage.Button.Layout
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Layout() |
Modifier and Type | Method and Description |
---|---|
com.deltadna.android.sdk.ImageMessage.Rect |
frame()
The popup relative button frame calculated by init().
|
void |
init(com.deltadna.android.sdk.ImageMessage.Rect frame,
float scale)
Initialises the button frame to the given popup frame and scale.
|
int |
x()
The popup relative x position of the button.
|
int |
y()
The popup relative y position of the button.
|
public int x()
public int y()
public com.deltadna.android.sdk.ImageMessage.Rect frame()
public void init(com.deltadna.android.sdk.ImageMessage.Rect frame, float scale)
frame
- The popup frame.scale
- The popup scale.