Polygon

Represents a polygon shape.

Polygon interface

Represents a polygon shape.

Signature:

interface Polygon extends ShapeMixin, PathDataMixin

Extends: ShapeMixin, PathDataMixin

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: October 8, 2026 at 10:45 AMEdit this page