makeRectangleWith

fun Point.makeRectangleWith(other: Point): Rectangle

Creates a rectangle that has this and other as its opposite-diagonal vertexes.

Parameters

other

the other vertex.