rotate

fun RectF.rotate(degrees: Float): RectF

Creates a RectF representing the bounding box of this RectF rotated by the provided number of degrees.