pixi-jsInterfaces
Interface: PathInstruction
Defined in: node_modules/pixi.js/lib/scene/graphics/shared/path/GraphicsPath.d.ts:13
Represents a single drawing instruction in a GraphicsPath.
Each instruction consists of an action type and associated data.
Advanced
Properties
action
> action: "circle" | "ellipse" | "rect" | "poly" | "roundRect" | "moveTo" | "lineTo" | "quadraticCurveTo" | "bezierCurveTo" | "arc" | "closePath" | "addPath" | "arcTo" | "arcToSvg" | "regularPoly" | "roundPoly" | "roundShape" | "filletRect" | "chamferRect"
Defined in: node_modules/pixi.js/lib/scene/graphics/shared/path/GraphicsPath.d.ts:14
data
> data: any[]
Defined in: node_modules/pixi.js/lib/scene/graphics/shared/path/GraphicsPath.d.ts:15