Optional
bounds: Geometry.RectPositionedProtected
_layoutProtected
_measuredProtected
_needsProtected
_needsProtected
_needsProtected
Readonly
_parentProtected
_readyRectangle Box occupies in canvas/etc
Protected
childrenReadonly
idGets the box's desired region, or undefined
Returns the root box
Gets visible state
Sets visible state
Called if this is the parent Box
Debug log from this box context
Protected
drawDraw this object
Protected
layoutCalls notifyChildLayoutNeeded
Protected
layoutOptional
_parent: LayoutOptional
parent: LayoutProtected
measureApplies actual size, returning true if size is different than before
_needsLayout
to false.visual
to m
measureApply
on each childforce
, sets needsDrawing
to true, and notifies root of measureApplied
Measurement for box
Protected
measurePrepare for measuring
Protected
measureMeasure the box
Measure state
Optional
parent: MeasurementParent size
Start of measuring
opts.measurements
measureStart
on each childOptions
Force measurement
Optional
parent: MeasurementParent's measurement
Measurement
Sends a message to all child boxes.
This first calls onNotify
on this instance,
before calling notify()
on each child.
Protected
onNotification a child box has been added
Throws if
Protected
onProtected
onProtected
onHandler when pointer has left
Protected
onSets _ready
to ready
. If includeChildren
is true,
setReady
is called on each child
Performs recalculations and drawing as necessary If nothing needs to happen, function returns.
Force update
Protected
updateUpdate begins.
MeasureState
Protected
updateStatic
from
A Box that exists on a HTMLCanvasElement