Interface RootProperties

Optional Root constructor properties.

interface RootProperties {
    canvasStartingHeight?: number;
    canvasStartingWidth?: number;
    constraints?: LayoutConstraints;
    maxCanvasHeight?: number;
    maxCanvasWidth?: number;
    pointerStyleHandler?: null | PointerStyleHandler;
    preventAtlasBleeding?: boolean;
    preventBleeding?: boolean;
    resolution?: number;
    tabFocusable?: boolean;
    theme?: Theme;
}

Hierarchy (view full)

Properties

canvasStartingHeight?: number

The starting height of the Root#viewport's canvas.

canvasStartingWidth?: number

The starting width of the Root#viewport's canvas.

constraints?: LayoutConstraints

The starting layout constraints of the Root.

maxCanvasHeight?: number
maxCanvasWidth?: number
pointerStyleHandler?: null | PointerStyleHandler
preventAtlasBleeding?: boolean

Sets CanvasViewport#preventAtlasBleeding in the internal viewport (Root#viewport).

preventBleeding?: boolean
resolution?: number
tabFocusable?: boolean
theme?: Theme