The 2D layer · interface
Theme
Named colours, packed as 0xRRGGBBAA, and sizes, flattened when the theme is derived.
Explained in Sprites and tilemaps.
interface Themeimport type { Theme } from '@driftengine/ui2d';Properties
| Name | Type | Description |
|---|---|---|
valuesreadonly | Readonly<Record<string, number>> |