TmxImageLayer
TmxBaseLayer → format.tmx.TmxImageLayer (Class)
A layer consisting of a single image.
Since 0.15 x
and y
position of layer is defined via offsetX
and offsetY
.
Instance Members
image: TmxImage
new(image: TmxImage, id: Int, name: String, x: Null<Float>, y: Null<Float>, offsetX: Null<Int>, offsetY: Null<Int>, width: Null<Int>, height: Null<Int>, opacity: Null<Float>, visible: Bool, properties: TmxProperties): Void
Name | Type |
---|---|
image |
TmxImage |
id |
Int |
name |
String |
x |
Null<Float> |
y |
Null<Float> |
offsetX |
Null<Int> |
offsetY |
Null<Int> |
width |
Null<Int> |
height |
Null<Int> |
opacity |
Null<Float> |
visible |
Bool |
properties |
TmxProperties |