public class Icon
extends java.lang.Object
Constructor and Description |
---|
Icon(Bitmap image) |
Icon(Bitmap image,
com.tigerknows.support.XYInteger size,
com.tigerknows.support.XYInteger offset) |
Modifier and Type | Method and Description |
---|---|
Icon |
clone() |
boolean |
equals(java.lang.Object obj) |
Bitmap |
getImage() |
com.tigerknows.support.XYInteger |
getOffset() |
com.tigerknows.support.XYInteger |
getSize() |
int |
hashCode() |
void |
setImage(Bitmap image)
set the image of icon
|
void |
setOffset(com.tigerknows.support.XYInteger offset)
icon image's top left corner will be placed at position.x-offset.x, position.y-offset.y
|
void |
setSize(com.tigerknows.support.XYInteger size) |
public Icon(Bitmap image)
public Icon(Bitmap image, com.tigerknows.support.XYInteger size, com.tigerknows.support.XYInteger offset)
public Icon clone()
clone
in class java.lang.Object
public Bitmap getImage()
public void setSize(com.tigerknows.support.XYInteger size)
public void setImage(Bitmap image)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public com.tigerknows.support.XYInteger getOffset()
public void setOffset(com.tigerknows.support.XYInteger offset)
offset
- public com.tigerknows.support.XYInteger getSize()
public int hashCode()
hashCode
in class java.lang.Object