Table of contents

Quadrilateral

The Quadrilateral interface represents a quadrilateral defined by four Points.

interface Quadrilateral {
    points: [Point, Point, Point, Point];
    area?: number;
}

points

An array of four Point objects defining the vertices of the quadrilateral.

area

The area of the quadrilateral.

Is this page helpful?

YesYes NoNo

In this article: