Constructors
Properties
renderer
renderer: PixiRenderer
Methods
destroy
- destroy(): void
Returns void
getBackgroundColor
- getBackgroundColor(): string
Returns string
getClipIdByCursorPosition
- getClipIdByCursorPosition(cursorX: number, cursorY: number): null | string
Parameters
- cursorX: number
- cursorY: number
Returns null | string
getHeight
- getHeight(): number
Returns number
getResolution
- getResolution(): [number, number]
Returns [number, number]
getView
- getView(): HTMLCanvasElement
Returns HTMLCanvasElement
getWidth
- getWidth(): number
Returns number
serialize
- serialize(): { backgroundColor: string; height: number; width: number }
Returns { backgroundColor: string; height: number; width: number }
setBackgroundColor
- setBackgroundColor(color: string): void
Returns void
setResolution
- setResolution(width: number, height: number): void
Parameters
- width: number
- height: number
Returns void