ShapeMixin.toPathData

Returns a path data representation of this shape.

ShapeMixin.toPathData() method

Returns a path data representation of this shape.

Signature:

toPathData(frame?: number): PathData;

Parameters

Parameter

Type

Description

frame

number

(Optional) Optional frame number to get the path data from. Defaults to current frame.

Returns:

PathData

The path data representation of this shape

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