[]
        
(Showing Draft Content)

PaintObjectParameters

Interface: PaintObjectParameters

Extended paint object parameters with additional rendering options

Properties

isDesignTime?

optional isDesignTime: boolean;

Whether the object is being rendered in design/edit mode.

In design mode (when editing objects), each object is rendered on its own canvas. Padding is applied around the canvas to account for effects like shadows or outlines. Rotation in this mode is handled at the DOM level (via CSS transform), so canvas rotation is skipped.

In runtime (final rendering), all objects are drawn on a single shared canvas. In this case, padding is not applied and rotation is handled via canvas transforms.


context

context: ImageLayer;

Paint context