API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classTiledImageLayer
@codexo/exojs-tiled / tiled / stable
An image layer. image is the path to the layer's image exactly as written in the Tiled JSON (relative to the map's location); resolving it against the owning TiledMap's `source` is left to the consumer.
17
props
1
methods
0
events
Import
import { TiledImageLayer } from '@codexo/exojs-tiled'An image layer. image is the path to the layer's image exactly as written in the Tiled JSON (relative to the map's location); resolving it against the owning TiledMap's `source` is left to the consumer.
Constructors1
new(data: TiledImageLayerDataFields shared by every layer type.): TiledImageLayerMethods1
Looks up a custom property by name.
Properties17
class: stringid: numberimage: stringname: stringoffsetX: numberoffsetY: numberopacity: numberparallaxX: numberparallaxY: numberrepeatX: booleanrepeatY: booleantintColor?: stringtype: "imagelayer"visible: booleanx: numbery: numberSource