public class MapObjectLayer extends Layer implements IMapObjectLayer
| Constructor and Description |
|---|
MapObjectLayer() |
MapObjectLayer(MapObjectLayer layerToBeCopied)
Copy Constructor for copying instances of MapObjectLayers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMapObject(IMapObject mapObject) |
java.awt.Color |
getColor() |
java.lang.String |
getColorHexString() |
java.util.List<IMapObject> |
getMapObjects()
Gets the shapes.
|
java.util.Collection<IMapObject> |
getMapObjects(java.lang.String... types) |
java.awt.Dimension |
getSizeInTiles()
Gets the size in tiles.
|
void |
removeMapObject(IMapObject mapObject) |
void |
setColor(java.lang.String color) |
java.lang.String |
toString() |
getHeight, getMap, getName, getOffset, getOffsetX, getOffsetY, getOpacity, getOrder, getRenderType, getWidth, isVisible, setHeight, setMap, setName, setOpacity, setVisible, setWidthgetBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getProperties, getShortValue, getShortValue, getStringValue, getStringValue, hasCustomProperty, setProperties, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHeight, getMap, getName, getOffset, getOffsetX, getOffsetY, getOpacity, getOrder, getRenderType, getWidth, isVisible, setHeight, setName, setVisible, setWidthgetBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getProperties, getShortValue, getShortValue, getStringValue, getStringValue, hasCustomProperty, setProperties, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValuepublic MapObjectLayer()
public MapObjectLayer(MapObjectLayer layerToBeCopied)
layerToBeCopied - the layer we want to copypublic java.util.List<IMapObject> getMapObjects()
IMapObjectLayergetMapObjects in interface IMapObjectLayerpublic void removeMapObject(IMapObject mapObject)
removeMapObject in interface IMapObjectLayerpublic java.awt.Dimension getSizeInTiles()
ILayergetSizeInTiles in interface ILayergetSizeInTiles in class Layerpublic java.lang.String toString()
toString in class java.lang.Objectpublic void addMapObject(IMapObject mapObject)
addMapObject in interface IMapObjectLayerpublic java.awt.Color getColor()
getColor in interface IMapObjectLayerpublic java.lang.String getColorHexString()
getColorHexString in interface IMapObjectLayerpublic void setColor(java.lang.String color)
setColor in interface IMapObjectLayerpublic java.util.Collection<IMapObject> getMapObjects(java.lang.String... types)
getMapObjects in interface IMapObjectLayer