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.
StaticstageCurrent 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
HTML div–based nine-slice container.
Wraps a CSS
border-imagediv that stretches the edges/corners while keeping the slice cuts intact — equivalent to Phaser.NineSlice and PIXI.NineSlicePlane.ZNineSlice extends ZContainer so it participates directly in the resize map and scene graph. The inner div owns the CSS border-image; the outer ZContainer el carries the CSS transform (position/scale).