Skip to content

rectFromPoints()

function rectFromPoints(
x1,
y1,
x2,
y2
): Rect;

Rectangle spanning two points (for rubber-band selection).

Parameter Type
x1 number
y1 number
x2 number
y2 number

Rect