ly.img.android.pesdk.utils / TransformedMotionEvent / setFixedCenterPoint

setFixedCenterPoint

fun setFixedCenterPoint(@Size(2) pos: kotlin.Array<float>): void

Set a center point to emulate a multitouch rotating and scaling Event

Parameters

pos - kotlin.Array<float>: center point array {x, y}.

fun setFixedCenterPoint(x: float, y: float): void

Set a center point to emulate a multitouch rotating and scaling Event

Parameters

x - float: center point x.

y - float: center point y.