[@type/paper] fillColor/strokeColor/shaderColor can be null to set it off

This commit is contained in:
luz-alphacode
2018-11-23 18:27:15 +08:00
parent c2fac6d235
commit 294e39f046
+3 -3
View File
@@ -1491,7 +1491,7 @@ declare module paper {
/**
* The color of the stroke.
*/
strokeColor: Color | string;
strokeColor: Color | string | null;
/**
* The width of the stroke.
@@ -1539,7 +1539,7 @@ declare module paper {
/**
* The fill color of the item.
*/
fillColor: Color | string;
fillColor: Color | string | null;
/**
* The fill-rule with which the shape gets filled. Please note that only modern browsers support fill-rules other than 'nonzero'.
@@ -1551,7 +1551,7 @@ declare module paper {
/**
* The shadow color.
*/
shadowColor: Color | string;
shadowColor: Color | string | null;
/**
* The shadow’s blur radius.