Class createjs.Composer
Defined in: composer.js.
Constructor Attributes | Constructor Name and Description |
---|---|
A class that composes an image.
|
Method Attributes | Method Name and Description |
---|---|
applyAlphaMap(image, alpha)
Applies an alpha-map filter to the specified image.
|
|
applyColorFilter(image, matrix)
Applies a color filter to the specified image.
|
|
destroy()
Destroys all resources owned by this composer.
|
|
Returns whether the hosting browser supports the blend mode "multiply".
|
Method Detail
applyAlphaMap(image, alpha)
Applies an alpha-map filter to the specified image.
- Parameters:
- {HTMLImageElement} image
- {HTMLImageElement} alpha
applyColorFilter(image, matrix)
Applies a color filter to the specified image.
- Parameters:
- {HTMLImageElement} image
-
{Array.
} matrix
destroy()
Destroys all resources owned by this composer.
{HTMLCanvasElement}
getOutput()
Returns whether the hosting browser supports the blend mode "multiply".
- Returns:
- {HTMLCanvasElement}