Layer

Extends Item, Group

The Layer item represents a layer in a Paper.js project.

The layer which is currently active can be accessed through project.activeLayer. An array of all layers in a project can be accessed through project.layers.

Constructors

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

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 Group