toOriginY

open fun toOriginY(): Shape2d

Uses corner to move the object so that it's Y value is 0 (i.e. it is touching the X axis). This is the same as frontToOrigin unless this shape has been scaled by a negative amount! See also backToOrigin.