Polygon

Represents a polygon shape.

Polygon interface

Represents a polygon shape.

Signature:

interface Polygon extends ShapeMixin

Extends: ShapeMixin

Properties

Property

Modifiers

Type

Description

outerRadius

readonly

Animatable<number>

Outer radius of the polygon

outerRoundness

readonly

Animatable<number>

Roundness of the outer points (0-100)

points

readonly

Animatable<number>

Number of points of the polygon

position

readonly

Animatable<Vector>

Position of the polygon

rotation

readonly

Animatable<number>

Rotation angle in degrees

type

readonly

"POLYGON"

Shape type

Last updated: August 5, 2026 at 11:47 AMEdit this page