content in font at size pixels and the CSS-style weight, its layout box centered at pos.
content in font at size pixels and the CSS-style weight, its layout box centered at pos.
With customBounds, the text is scaled to the size of that box and moved so that the middle of its bounds is the middle of the box. Last, it is turned by rotationAngle around its anchor.