mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
@types/paper: Added Item.locked to the definition (#30514)
* Added Item.locked to the definition * Added the right Paper.js version to the header
This commit is contained in:
committed by
Pranav Senthilnathan
parent
f07566d502
commit
e2abd0821e
Vendored
+7
-2
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Paper.js v0.11.5
|
||||
// Type definitions for Paper.js v0.11.8
|
||||
// Project: http://paperjs.org/
|
||||
// Definitions by: Clark Stevenson <https://github.com/clark-stevenson>,
|
||||
// Jon Lucas <https://github.com/Xakaloz>,
|
||||
@@ -1332,7 +1332,12 @@ declare module paper {
|
||||
* The path style of the item.
|
||||
*/
|
||||
style: Style;
|
||||
|
||||
|
||||
/**
|
||||
* Specifies whether the item is locked. When set to true, item interactions with the mouse are disabled.
|
||||
*/
|
||||
locked: boolean;
|
||||
|
||||
/**
|
||||
* Specifies whether the item is visible. When set to false, the item won't be drawn.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user