Optional_Typed child list (mirrors PIXI's children array).
ReadonlyelThe root div element for this container.
OptionalfixedOptionaloriginalOptionaloriginalOptionaloriginalReadonlyscalePIXI-compatible scale object. Setting .x / .y delegates to the
scaleX / scaleY setters so that ZScene can write
stage.scale.x = s exactly as in the PIXI version.
Initialised in the constructor so this is captured correctly.
OptionaltoggleStaticstageCurrent CSS-pixel X offset of the stage from the viewport edge.
StaticstageCurrent CSS-pixel Y offset of the stage from the viewport edge.
StaticstageCurrent uniform CSS scale applied to the stage element.
Stretches this container to visually cover the entire browser viewport.
Mirrors PIXI's executeFitToScreen — positions the container at the
viewport's top-left (expressed in stage / scene-unit coords) and scales
the first child image element to fill the viewport dimensions.
Current browser viewport width in CSS pixels.
Current browser viewport height in CSS pixels.
CSS-pixel X offset of the scaled stage from the viewport edge.
CSS-pixel Y offset of the scaled stage from the viewport edge.
Uniform CSS scale applied to the stage.
Finds the first text element (a <span class="z-text">) among children.
Mirrors PIXI's getTextField().
Called once all children have been added. Captures original text dimensions.
Public entry point for ZScene to re-run the anchor computation after all
containers in the resize map have been updated to the new orientation.
This guarantees that ancestor _x / _y values are current when chain
inversion runs.
Optionalevent: string
A two-state toggle that flips between
"onState"and"offState". Mirrors the PIXI ZToggle interface.