Constructor
new ShadowCollection()
- Description:
- Create a shadow collection
- Source:
Properties:
Name |
Type |
Attributes |
Default |
Description |
color |
Object
|
<optional>
|
<Rgb>
|
Color model & value |
blur |
number
|
|
|
Blur strength |
offset |
Point
|
|
|
Point offset coordinates |
Methods
blur(blur)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
blur |
number
|
Blur value |
blur() → {number}
- Description:
- Source:
Returns:
Blur value
-
Type
-
number
color(value)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
value |
string
|
RGB color value |
color() → {string}
- Description:
- Source:
Returns:
RGB color value
-
Type
-
string
offset(value)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
value |
Point
|
Shadow offset |
offset() → {Point}
- Description:
- Source:
Returns:
Shadow offset
-
Type
-
Point
x(value)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
value |
number
|
X coordinate value |
x() → {number}
- Description:
- Source:
Returns:
X coordinate value
-
Type
-
number
y(value)
- Description:
- Set the y-axis offset value
- Source:
Parameters:
Name |
Type |
Description |
value |
number
|
Y coordinate value |
y() → {number}
- Description:
- Source:
Returns:
Y coordinate value
-
Type
-
number