Skip to main content

Interface: IScreenStartOptions

Hierarchy​

Properties​

enableRedraw​

• Optional enableRedraw: boolean

Whether enable the redraw.

Defined in​

src/Screen.ts:34


ignoreMouse​

• Optional ignoreMouse: boolean

Ignore mouse events.

Defined in​

src/Screen.ts:38


ignoreAnimation​

• Optional ignoreAnimation: boolean

Ignore animations.

Defined in​

src/Screen.ts:42


ignoreDimensions​

• Optional ignoreDimensions: boolean

Does not try to resize canvas.

Defined in​

src/Screen.ts:46


ignoreClear​

• Optional ignoreClear: boolean

Does not clear canvas.

Defined in​

src/Screen.ts:50


scaleWidth​

• Optional scaleWidth: number

Scales horizontally to width.

Defined in​

src/Screen.ts:54


scaleHeight​

• Optional scaleHeight: number

Scales vertically to height.

Defined in​

src/Screen.ts:58


offsetX​

• Optional offsetX: number

Draws at a x offset.

Defined in​

src/Screen.ts:62


offsetY​

• Optional offsetY: number

Draws at a y offset.

Defined in​

src/Screen.ts:66

Methods​

forceRedraw​

â–¸ Optional forceRedraw(): boolean

Will call the function on every frame, if it returns true, will redraw.

Returns​

boolean

Defined in​

src/Screen.ts:70