captureOnlyBackgroundImageArea property

bool captureOnlyBackgroundImageArea
final

Indicates if it should only capture the background image area and cut all stuff outside, such as when a layer overlaps the image.

When set to true, this flag ensures that the capture process focuses solely on the background image area, ignoring any other elements that might be present.

If set to false, the capture will include all elements within the image area, not just the background.

Note: If you disable this flag, it may require more performance to generate the image, especially on high resolution images in a large screen, cuz the editor need to find the bounding box by itself.

Implementation

final bool captureOnlyBackgroundImageArea;