PathShape
This shape type represents a shape defined by bezier curves.
You can create a shape with a Bezier path using the Pen tool on a selected shape layer in the Composition panel. If you draw with the Pen tool in the Composition panel with no layer selected, you create a shape on a new shape layer.
Creating a RotoBezier path is similar to creating a manual Bezier path. The primary difference is that direction lines for vertices and curvature for path segments are automatically calculated.
Hierarchy
PathShape
Constructors
constructor
newPathShape(parent: any): PathShape
Properties
Optional classNames
classNames: undefined | string
Optional direction
direction: undefined | number
Optional id
id: undefined | string
isHidden
isHidden: boolean = false
Optional itemIndex
itemIndex: undefined | number
Optional matchName
matchName: undefined | string
Optional name
name: undefined | string
parent
parent: any
Optional shapeIndex
shapeIndex: undefined | number
Readonly type
type: PATH = ShapeType.PATH
Mapped field: ty
Mapped field value :
vertices
vertices: Property = new Property(this, PropertyType.SHAPE)
Methods
fromJSON
fromJSON(json: Record<string, any>): PathShape
toJSON
toJSON(): Record<string, any>
Returns Record<string, any>
JSON object
Last updated