snapToRight property

double? snapToRight
final

The bottom side of a sprite's bounding box snaps to a horizontal line which is shifted from the right side of the edited image towards its center by this value. The value is measured in normalized coordinates relative to the smaller side of the edited image. If this value is explicitly set to null this snapping line is disabled.

// Defaults to:
0.1

Implementation

final double? snapToRight;