Quadrilateral
The Quadrilateral interface represents a quadrilateral defined by four Points.
interface Quadrilateral {
points: [Point, Point, Point, Point];
area?: number;
boundingRect?: DSRect;
}
points
An array of four Point objects defining the vertices of the quadrilateral.
area
The area of the quadrilateral.
boundingRect
The bounding rectangle of the quadrilateral, in type of DSRect.