setAndRotate

fun RectF.setAndRotate(left: Number, top: Number, right: Number, bottom: Number, rotationDegrees: Float): RectF

Applies the provided coordinates to this RectF and rotates it by the given number of degrees.