setTransform

fun setTransform(oldRect: Rectangle2D, newRect: Rectangle2D)

Defines this transform.

Parameters

oldRect

the initial rect.

newRect

what this transform should turn the initial rectangle into.