interface Geometry · Shapes

PolygonalShape

interface PolygonalShape extends Shape

A shape whose points are joined by straight lines: the base of Polyline, Polygon, Segment, Triangle, Rectangle and Box.

Properties

geometricTypereadonly

geometricType: "Box" | "Shape" | "Rectangle" | "Polygon" | "Triangle" | "LineSegment" | "Polyline"

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]