ly.img.android.pesdk.backend.model.chunk / RelativeRectFast / offset

offset

open fun offset(dx: Double, dy: Double): Unit

Offset the rectangle by adding dx to its left and right coordinates, and adding dy to its top and bottom coordinates.

Parameters

dx - Double: The amount to add to the rectangle's left and right coordinates

dy - Double: The amount to add to the rectangle's top and bottom coordinates