CompoundPath

Extends Item, PathItem

A compound path is a complex path that is made up of one or more simple sub-paths. It can have the nonzero fill rule, or the evenodd rule applied. Both rules use mathematical equations to determine if any region is outside or inside the final shape. The evenodd rule is more predictable: Every other region within a such a compound path is a hole, regardless of path direction.

All the paths in a compound path take on the style of the compound path and can be accessed through its item.children list.

Constructors

Properties

Methods

Properties inherited from Item

Position and Bounding Boxes

Project Hierarchy

Stroke Style

Fill Style

Shadow Style

Selection Style

Event Handlers

Methods inherited from Item

Fetching and matching items

Importing / Exporting JSON and SVG

Hierarchy Operations

Tests

Style Tests

Hierarchy Tests

Transform Functions

Event Handling

Remove On Event

Properties inherited from PathItem

Methods inherited from PathItem

Postscript Style Drawing Commands

Relative Drawing Commands

Boolean Path Operations