Skip to content

Documentation / spryte / TiledDrawOptions

Interface: TiledDrawOptions ​

Defined in: panels.ts:17

Options for nineSlice and tiled.

Extends ​

Properties ​

alpha? ​

optional alpha?: number

Defined in: panels.ts:8

Multiplied with the global alpha.

Inherited from ​

PanelDrawOptions.alpha


flash? ​

optional flash?: number

Defined in: panels.ts:12

0..1 mix toward white.

Inherited from ​

PanelDrawOptions.flash


offsetX? ​

optional offsetX?: number

Defined in: panels.ts:19

Scroll the pattern, in source pixels before scale (wraps).


offsetY? ​

optional offsetY?: number

Defined in: panels.ts:20


scale? ​

optional scale?: number

Defined in: panels.ts:22

Tile size multiplier. Default 1.


smooth? ​

optional smooth?: boolean

Defined in: panels.ts:14

Linear filtering. Default: the renderer's setting.

Inherited from ​

PanelDrawOptions.smooth


tint? ​

optional tint?: Color

Defined in: panels.ts:10

Colour multiplier. Default white.

Inherited from ​

PanelDrawOptions.tint