DocumentCleanupStatus

Status of the document cleanup operation.

Entries

Link copied to clipboard

Cleanup completed.

Link copied to clipboard

Cleanup completed, but the configured maxCleanupResolution forced internal downscaling of the cleanup region, so the result quality near the cleanup boundary may be reduced compared to a full-resolution run. If result is not good enough, run undo and try applying cleanup on smaller areas.

Link copied to clipboard

Cleanup was not performed because the axis-aligned bounding box of the non-zero mask pixels exceeded the configured maxMaskBoundingBoxArea limit. The returned image is the current (unchanged) image and the undo/redo history is left untouched. Retry with a smaller mask or increase maxMaskBoundingBoxArea.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun toJson(): String
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.