Skip to main content

TopLeft

Types for representing the left/top coordinate of a target draw rect.

Index

Type Aliases

Data

Data: Readonly<Partial<Record<AssetPoseName, number>> & Record<PoseTypeDefault, number>>

The parsed top/left coordinate translation. Will include a default value under PoseType.DEFAULT and may include pose-specific values under their respective pose names.

DataMutable

DataMutable: Partial<Record<AssetPoseName | PoseTypeDefault, number>>

Mutable datastructure variant as to be used at the ItemProperties level. See TopLeft.Data

Definition

Definition: number | Partial<Record<AssetPoseName | PoseTypeDefault, number>>

The unparsed top/left coordinate translation. Can be either a number or, if one wants to specify pose-specific translations, a record mapping pose names to numbers. The PoseType.DEFAULT key can be specified in the record-notation as a default pose-agnostic value.

ItemData

ItemData: Partial<Record<AssetOverride | LayerName, TopLeft.DataMutable>>

See ["DrawingTop"]

ItemDefinition

ItemDefinition: Partial<Record<AssetOverride | LayerName, TopLeft.Definition>>

See ["DrawingTop"]