clipViewbox property

bool clipViewbox
final

Whether the graphic should be clipped to its viewbox.

If true, this adds a clip sized to the dimensions of the graphic before drawing. This prevents the graphic from accidentally drawing outside of its specified dimensions. Some graphics intentionally draw outside of their specified dimensions and thus must not be clipped.

Implementation

final bool clipViewbox;