Class Index | File Index

Classes


Class createjs.AlphaMapFilter


Extends .

Defined in: alpha_map_filter.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A class that encapsulates an alpha-map filter, i.e.
Field Summary
Field Attributes Field Name and Description
 
The element representing this alpha map.
Method Summary
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 element, i.e. it consumes so much memory to apply an alpha-map filter to a huge elements (e.g. a sprite sheet, a background image, etc.) that your game becomes more likely to be killed by out-of-memory killers.
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}

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 04 2016 17:11:27 GMT+0900 (JST)