API reference

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

T

typeTiledObjectAlignment

@codexo/exojs-tiled / tiled / stable

Where a tile object's stored `x`/`y` sits within the tile's bounding box (TiledTilesetData.objectalignment). `'unspecified'` is Tiled's own default and is orientation-dependent - see import('./objectAlignment').resolveTiledObjectAlignment.

0
props
0
methods
0
events
Import
import { TiledObjectAlignment } from '@codexo/exojs-tiled'

Where a tile object's stored `x`/`y` sits within the tile's bounding box (TiledTilesetData.objectalignment).

`'unspecified'` is Tiled's own default and is orientation-dependent - see import('./objectAlignment').resolveTiledObjectAlignment.

Definition1
"bottom" | "bottomleft" | "bottomright" | "center" | "left" | "right" | "top" | "topleft" | "topright" | "unspecified"
Source