create

fun create(position: Position = Position.defaultPosition(), size: Size): Rect

Creates a new Rect from the given Position and Size.

Sources

(source)
Link copied to clipboard