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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetImage()Gets the image.doubleGets the horizontal offset of the layer.doubleGets the vertical offset of the layer.Gets the transparent color.booleanGets a value indicating whether the image should be rendered repeatedly horizontally.booleanGets a value indicating whether the image should be rendered repeatedly vertically.Methods inherited from class de.gurkenlabs.litiengine.environment.tilemap.xml.Layer
afterUnmarshal, getHeight, getHorizontalParallaxFactor, getId, getMap, getName, getOffset, getOpacity, getRenderType, getSizeInTiles, getTintColor, getVerticalParallaxFactor, getWidth, isVisible, setHeight, setMap, setName, setOpacity, setRenderType, setTintColor, setVisible, setWidthMethods inherited from class de.gurkenlabs.litiengine.environment.tilemap.xml.CustomPropertyProvider
getBoolValue, getBoolValue, getByteValue, getByteValue, getCharValue, getCharValue, getColorValue, getColorValue, getCommaSeparatedStringValues, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getMapObjectId, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, hasCustomProperty, removeProperty, setProperties, setValue, setValue, 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, getCharValue, getCharValue, getColorValue, getColorValue, getCommaSeparatedStringValues, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getMapObjectId, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, hasCustomProperty, removeProperty, setProperties, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueMethods inherited from interface de.gurkenlabs.litiengine.environment.tilemap.ILayer
getHeight, getHorizontalParallaxFactor, getId, getMap, getName, getOffset, getOpacity, getRenderType, getSizeInTiles, getTintColor, getVerticalParallaxFactor, getWidth, isVisible, setHeight, setName, setOpacity, setRenderType, setTintColor, 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
Description copied from interface:IImageLayerGets the transparent color.- Specified by:
getTransparentColorin interfaceIImageLayer- Returns:
- the transparent color
-
repeatHorizontally
public boolean repeatHorizontally()Description copied from interface:IImageLayerGets a value indicating whether the image should be rendered repeatedly horizontally.- Specified by:
repeatHorizontallyin interfaceIImageLayer- Returns:
- True if the image should be repeated horizontally; Otherwise false.
-
repeatVertically
public boolean repeatVertically()Description copied from interface:IImageLayerGets a value indicating whether the image should be rendered repeatedly vertically.- Specified by:
repeatVerticallyin interfaceIImageLayer- Returns:
- True if the image should be repeated vertically; Otherwise false.
-
getOffsetX
public double 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 double getOffsetY()Description copied from interface:ILayerGets the vertical offset of the layer.- Specified by:
getOffsetYin interfaceILayer- Overrides:
getOffsetYin classLayer- Returns:
- the y offset
-