ly.img.android.sdk.config / Position / snapToTop

snapToTop

var snapToTop: Float?

The top side of a sprite's bounding box snaps to a horizontal line which is shifted from the top 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.