interface Geometry · Shapes

Box

interface Box extends PolygonalShape

A box: a rectangle with sides parallel to the axes, stored as two opposite corners.

Boxes computes with boxes; a box is accepted wherever a Polygon is.

Properties

geometricTypereadonly

geometricType: "Box"

This property is only used for static typing. Evaluating it at run time returns undefined.

Inherited

From ReadOnlyCollection count

From Sequence at, elements, set, setAt

From Iterable [iterator]