Class Index | File Index

Classes


Class Shadow

Encapsulates the properties required to define a shadow to apply to a DisplayObject via it's .shadow property.
Defined in: Shadow.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Shadow(color, offsetX, offsetY, blur)
Constructs a new Shadow object.
Field Summary
Field Attributes Field Name and Description
 
The blur of the shadow.
 
The color of the shadow.
<static>  
Shadow.identity
An identity shadow object (all properties are set to 0).
 
The x offset of the shadow.
 
The y offset of the shadow.
Method Summary
Method Attributes Method Name and Description
<private>  
init(color, offsetX, offsetY, blur)
 
Returns a string representation of this object.
Class Detail
Shadow(color, offsetX, offsetY, blur)
Constructs a new Shadow object.
Parameters:
color
The color of the shadow.
offsetX
The x offset of the shadow.
offsetY
The y offset of the shadow.
blur
The blur of the shadow.
Field Detail
blur
The blur of the shadow. *

color
The color of the shadow. *

<static> Shadow.identity
An identity shadow object (all properties are set to 0). Read-only.

offsetX
The x offset of the shadow. *

offsetY
The y offset of the shadow. *
Method Detail
<private> init(color, offsetX, offsetY, blur)
Parameters:
color
offsetX
offsetY
blur

toString()
Returns a string representation of this object.

Documentation generated by JsDoc Toolkit 2.3.2 on Tue Dec 07 2010 15:40:00 GMT-0700 (MST)