API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

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.

Constructors 1
new(data: TiledImageLayerData): TiledImageLayer
Methods 1
getProperty(name: string): TiledPropertyData | undefined
Properties 17
class: string
id: number
image: string
name: string
offsetX: number
offsetY: number
opacity: number
parallaxX: number
parallaxY: number
properties: readonly TiledPropertyData[]
repeatX: boolean
repeatY: boolean
tintColor: string
type: "imagelayer"
visible: boolean
x: number
y: number
Source