ReadonlyrectReadonlytextOptional ReadonlytextOptional ReadonlybackgroundOptional ReadonlyoffsetOptional ReadonlyoffsetOptional ReadonlyplacementOptional ReadonlylayoutTranslate the measured, padded label after default placement. Bounds and returned x/y use media pixels; viewportScale maps media to display pixels. Both web and native renderers use the returned position for text and background. Return finite coordinates; invalid positions throw RangeError. Dimensions remain measured by the renderer. The optional background flag overrides corner rounding for this layout only.
Renderer-neutral label drawing instruction.