Fluent canvas builder — wraps a 2D context with chainable drawing methods.
Draws a string truncated with "…" to fit within maxWidth. Returns the string actually drawn.
Returns the raw CanvasRenderingContext2D for custom operations.
Fluent canvas builder — wraps a 2D context with chainable drawing methods.