ReadonlycanmatchMedia('(hover: hover)') — the primary pointer can hover.
ReadonlycoarsematchMedia('(pointer: coarse)') — the primary pointer is imprecise.
ReadonlydprLive device pixel ratio.
ReadonlytargetMultiplier for handle sizes and hit radii. Derived from
coarsePointer unless explicitly overridden.
Facts about the device the canvas is running on.
One object, recomputed when the underlying media queries change, read by two consumers: the chrome-caps rule layer (via
RuleCtx.device) and the handle-sizing constants (viatargetScale).Deliberately NOT a form-factor concept. There is no
isPhonehere and there should never be one: chrome layout is the consuming app's decision. The kit's job is to stop assuming a mouse.