Class createjs.AlphaMapFilter
Extends
.
Defined in: alpha_map_filter.js.
Constructor Attributes | Constructor Name and Description |
---|---|
createjs.AlphaMapFilter(image)
A class that encapsulates an alpha-map filter, i.e.
|
Field Attributes | Field Name and Description |
---|---|
The
|
Method Attributes | Method Name and Description |
---|---|
<static> |
createjs.AlphaMapFilter.get(filter)
Changes the type of the specified Filter object to createjs.AlphaMapFilter.
|
Class Detail
createjs.AlphaMapFilter(image)
A class that encapsulates an alpha-map filter, i.e. a filter that copies the
red components of its image to the alpha components of a target object.
Applying an alpha-map filter to an
element needs an extra
- Parameters:
- {HTMLImageElement|HTMLCanvasElement} image
Field Detail
image
The
element representing this alpha map.
Method Detail
<static>
{createjs.AlphaMapFilter}
createjs.AlphaMapFilter.get(filter)
Changes the type of the specified Filter object to createjs.AlphaMapFilter.
- Parameters:
- {createjs.Filter} filter
- Returns:
- {createjs.AlphaMapFilter}