public interface IMapObject extends ICustomPropertyProvider, Resource
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Rectangle2D |
getBoundingBox()
Gets the hit box.
|
java.awt.geom.Ellipse2D |
getEllipse() |
int |
getGridId()
Gets the grid id.
|
float |
getHeight() |
int |
getId()
Gets the id.
|
IMapObjectLayer |
getLayer() |
java.awt.geom.Point2D |
getLocation()
Gets the location.
|
IPolygon |
getPolygon() |
IPolyline |
getPolyline() |
IMapObjectText |
getText() |
ITilesetEntry |
getTile() |
java.lang.String |
getType() |
float |
getWidth() |
float |
getX() |
float |
getY() |
boolean |
isEllipse() |
boolean |
isPoint() |
boolean |
isPolygon() |
boolean |
isPolyline() |
void |
setGridId(int gid) |
void |
setHeight(float height) |
void |
setId(int id) |
void |
setLocation(float x,
float y) |
void |
setLocation(java.awt.geom.Point2D location) |
void |
setType(java.lang.String type) |
void |
setWidth(float width) |
void |
setX(float x) |
void |
setY(float y) |
getBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, getTypeOfProperty, hasCustomProperty, removeProperty, setProperties, setTypeOfProperty, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue
int getGridId()
ITilesetEntry getTile()
java.awt.geom.Rectangle2D getBoundingBox()
int getId()
java.awt.geom.Point2D getLocation()
java.lang.String getType()
IPolyline getPolyline()
IPolygon getPolygon()
java.awt.geom.Ellipse2D getEllipse()
IMapObjectText getText()
IMapObjectLayer getLayer()
void setGridId(int gid)
void setId(int id)
void setType(java.lang.String type)
void setX(float x)
void setY(float y)
void setLocation(java.awt.geom.Point2D location)
void setLocation(float x, float y)
void setWidth(float width)
void setHeight(float height)
float getX()
float getY()
float getWidth()
float getHeight()
boolean isPolyline()
boolean isPolygon()
boolean isPoint()
boolean isEllipse()