pixi-jsFunctions
Function: getFillInstructionData()
> getFillInstructionData(context, index?): object
Defined in: node_modules/pixi.js/lib/scene/graphics/shared/svg/utils/fillOperations.d.ts:20
Internal
Gets fill instruction data from a graphics context.
Parameters
context
The graphics context
index?
number
Index of the fill instruction (default: 0)
Returns
object
The fill instruction data
hole?
> optional hole?: GraphicsPath
path
> path: GraphicsPath
style
> style: ConvertedFillStyle
Throws
Error if instruction at index is not a fill instruction