LogoPixi’VN
pixi-jsFunctions

Function: checkForNestedPattern()

> checkForNestedPattern(subpathsWithArea): boolean

Defined in: node_modules/pixi.js/lib/scene/graphics/shared/svg/utils/fillOperations.d.ts:8

Internal

Determines if subpaths represent nested shapes or multiple holes pattern.

Parameters

subpathsWithArea

object[]

Array of subpaths with their calculated areas

Returns

boolean

True if nested pattern, false if multiple holes pattern