The Quadrilateral class represents a quadrilateral shape in 2D space, which contains an array of four points, representing the vertices of the quadrilateral.

interface Quadrilateral {
    points: Point[];
}

Properties

Properties

points: Point[]

Vertex coordinates of the quadrilateral.