ly.img.android.pesdk.backend.model.chunk / RelativeRectAccurate / offsetTo

offsetTo

open fun offsetTo(newLeft: BigDecimal!, newTop: BigDecimal!): Unit

Offset the rectangle to a specific (left, top) position, keeping its width and height the same.

Parameters

newLeft - BigDecimal!: The new "left" coordinate for the rectangle

newTop - BigDecimal!: The new "top" coordinate for the rectangle