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

Properties inherited from Item

Position and Bounding Boxes

Project Hierarchy

Stroke Style

Fill Style

Shadow Style

Selection Style

Event Handlers

Methods inherited from Item

Geometric Tests

Hit-testing, Fetching and Matching Items

Importing / Exporting JSON and SVG

Hierarchy Operations

Tests

Style Tests

Hierarchy Tests

Transform Functions

Event Handling

Remove On Event

Tweening Functions

Properties inherited from PathItem

Methods inherited from PathItem

Boolean Path Operations

Path Intersections and Locations

Path Manipulation

Postscript Style Drawing Commands

Relative Drawing Commands