Class: Stage

Stage

The stage is the root node in the PUXI scene graph. It does not provide a sophisticated layout model; however, it will accept constraints defined by PUXI.FastLayoutOptions or PUXI.LayoutOptions in its children.

The stage is not a PUXI.Widget and its dimensions are always fixed.

new Stage (width, height)

Name Type Description
width number

width of the stage

height number

height of the stage

Extends

  • PIXI.Container

Members

PUXI.Stage.CHECK_BOX_GROUP_CONTROLLER static

Use this to override which class is used for the check box group controller. It should extend from PUXI.CheckBoxGroupController.

PUXI.Stage.FOCUS_CONTROLLER static

Use this to override which class is used for the focus controller. It should extend from PUXI.FocusController.

checkBoxGroupController PUXI.CheckBoxGroupController

The check box group controller for check boxes in this stage.

focusController PUXI.FocusController

The focus controller for widgets in this stage. You can use this to bring a widget into focus.