[]
        
(Showing Draft Content)

Quadrilateral

Type Alias: Quadrilateral

type Quadrilateral = object;

Represents a quadrilateral.

Properties

a

a: Point;

The first vertex of the quadrilateral. If initialized from a rectangle, corresponds to the rectangle's bottom left corner.


b

b: Point;

The second vertex of the quadrilateral. If initialized from a rectangle, corresponds to the rectangle's top left corner.


c

c: Point;

The third vertex of the quadrilateral. If initialized from a rectangle, corresponds to the rectangle's top right corner.


d

d: Point;

The fourth vertex of the quadrilateral. If initialized from a rectangle, corresponds to the rectangle's bottom right corner.