mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Update index.d.ts (#23301)
see paper.js docs: http://paperjs.org/reference/project/#addlayer-layer http://paperjs.org/reference/project/#insertlayer-index-item
This commit is contained in:
10
types/paper/index.d.ts
vendored
10
types/paper/index.d.ts
vendored
@@ -3237,6 +3237,16 @@ declare module paper {
|
||||
* Deselects all selected items in the project.
|
||||
*/
|
||||
deselectAll(): void;
|
||||
|
||||
/**
|
||||
* Adds the specified layer at the end of the this project’s layers list.
|
||||
*/
|
||||
addLayer(layer: Layer): Layer;
|
||||
|
||||
/**
|
||||
* Inserts the specified layer at the specified index in this project’s layers list.
|
||||
*/
|
||||
insertLayer(index: number, layer: Layer): Layer;
|
||||
|
||||
/**
|
||||
* Perform a hit-test on the items contained within the project at the location of the specified point.
|
||||
|
||||
Reference in New Issue
Block a user