setShape

fun setShape(rect: <ERROR CLASS>, transformation: <ERROR CLASS>?, contextWidth: Int, contextHeight: Int)
fun setShape(rect: <ERROR CLASS>, transformation: <ERROR CLASS>?, contextRect: <ERROR CLASS>, destinationFlip: Boolean)