Rectangle.fromPoints Method¶
Module: Rectangle
Definition¶
Creates a quadrangle from 4 points.
static Rectangle fromPoints(Point topLeft, Point topRight, Point bottomRight, Point bottomLeft)
Parameters
topLeft Pointin Top-left corner of the quadrangle.
topRight Pointin Top-right corner of the quadrangle.
bottomRight Pointin Bottom-right corner of the rectangle.
bottomLeft Pointin Bottom-left corner of the rectangle.
Returns
The newly created rectangle.
Exceptions
An error has occurred during Face Library execution.