captureOnlyDrawingBounds property

bool captureOnlyDrawingBounds
final

Determines whether to capture only the content within the boundaries of the painting when editing is complete.

If set to true, editing completion will result in cropping all content outside the image boundaries.

Setting this property to true is useful when you want to focus on the image content and exclude any surrounding elements. Setting this property to false is useful when you want to capture the full content.

By default, this property is set to true.

Implementation

final bool captureOnlyDrawingBounds;