@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:
dwulfde
2018-11-15 16:43:14 -08:00
committed by Pranav Senthilnathan
parent f07566d502
commit e2abd0821e
+7 -2
View File
@@ -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.
*/