fromSize

fun fromSize(x: Float, y: Float, width: Float, height: Float): Frame(source)

Creates a frame from its origin and size.

Return

The frame spanning x..x + width and y..y + height.

Parameters

x

The left edge.

y

The top edge.

width

The horizontal size.

height

The vertical size.