Class createjs.Shadow
Extends
.
Defined in: shadow.js.
Constructor Attributes | Constructor Name and Description |
---|---|
createjs.Shadow(color, offsetX, offsetY, blur)
A class representing a set of properties used for rendering a shadow.
|
Field Attributes | Field Name and Description |
---|---|
The blur of the shadow.
|
|
The color of the shadow.
|
|
The x offset of the shadow.
|
|
The y offset of the shadow.
|
Class Detail
createjs.Shadow(color, offsetX, offsetY, blur)
A class representing a set of properties used for rendering a shadow.
- Parameters:
- {string} color
- The color of the shadow.
- {number} offsetX
- The x offset of the shadow in pixels.
- {number} offsetY
- The y offset of the shadow in pixels.
- {number} blur
- The size of the blurring effect.
Field Detail
blur
The blur of the shadow.
color
The color of the shadow.
offsetX
The x offset of the shadow.
offsetY
The y offset of the shadow.