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

offsetTo

fun offsetTo(newLeft: java.math.BigDecimal, newTop: java.math.BigDecimal): void

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

Parameters

newLeft - java.math.BigDecimal: The new "left" coordinate for the rectangle

newTop - java.math.BigDecimal: The new "top" coordinate for the rectangle