Class ImageLayer
java.lang.Object
de.gurkenlabs.litiengine.environment.tilemap.xml.CustomPropertyProvider
de.gurkenlabs.litiengine.environment.tilemap.xml.Layer
de.gurkenlabs.litiengine.environment.tilemap.xml.ImageLayer
- All Implemented Interfaces:
ICustomPropertyProvider,IImageLayer,ILayer
public class ImageLayer
extends Layer
implements IImageLayerConstructor Summary
Constructors Constructor Description ImageLayer()Method Summary
Modifier and Type Method Description IMapImagegetImage()Gets the image.intgetOffsetX()Gets the horizontal offset of the layer.intgetOffsetY()Gets the vertical offset of the layer.java.awt.ColorgetTransparentColor()Gets the transparent color.Methods inherited from class de.gurkenlabs.litiengine.environment.tilemap.xml.Layer
afterUnmarshal, getHeight, getId, getMap, getName, getOffset, getOpacity, getRenderType, getSizeInTiles, getWidth, isVisible, setHeight, setMap, setName, setOpacity, setRenderType, setVisible, setWidthMethods inherited from class de.gurkenlabs.litiengine.environment.tilemap.xml.CustomPropertyProvider
getBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getCommaSeparatedStringValues, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, getTypeOfProperty, hasCustomProperty, removeProperty, setProperties, setTypeOfProperty, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.gurkenlabs.litiengine.environment.tilemap.ICustomPropertyProvider
getBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getCommaSeparatedStringValues, 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, setValueMethods inherited from interface de.gurkenlabs.litiengine.environment.tilemap.ILayer
getHeight, getId, getMap, getName, getOffset, getOpacity, getRenderType, getSizeInTiles, getWidth, isVisible, setHeight, setName, setOpacity, setRenderType, setVisible, setWidth
Constructor Details
ImageLayer
public ImageLayer()
Method Details
getImage
Description copied from interface:IImageLayerGets the image.- Specified by:
getImagein interfaceIImageLayer- Returns:
- the image
getTransparentColor
public java.awt.Color getTransparentColor()Description copied from interface:IImageLayerGets the transparent color.- Specified by:
getTransparentColorin interfaceIImageLayer- Returns:
- the transparent color
getOffsetX
public int getOffsetX()Description copied from interface:ILayerGets the horizontal offset of the layer.- Specified by:
getOffsetXin interfaceILayer- Overrides:
getOffsetXin classLayer- Returns:
- the x offset
getOffsetY
public int getOffsetY()Description copied from interface:ILayerGets the vertical offset of the layer.- Specified by:
getOffsetYin interfaceILayer- Overrides:
getOffsetYin classLayer- Returns:
- the y offset
