getBounds

fun getBounds(p1: Point, p2: Point, p3: Point): Rectangle
fun getBounds(p1: Point, p2: Point, p3: Point, p4: Point): Rectangle