Free

class Free(val minWidth: Float, val minHeight: Float) : CropConstraint(source)

A rectangle of any size at or above minWidth and minHeight.

Constructors

Link copied to clipboard
constructor(minWidth: Float, minHeight: Float)

Properties

Link copied to clipboard

How short the rectangle may get, as a fraction of the frame.

Link copied to clipboard

How narrow the rectangle may get, as a fraction of the frame.

Functions

Link copied to clipboard
open override fun constrain(proposed: NormalizedRect, handle: CropHandle): NormalizedRect

Corrects proposed into a rectangle this constraint allows.