Class Index | File Index

Classes


Class createjs.Filter


Extends .

Defined in: filter.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A base class for all filters.
Field Summary
Field Attributes Field Name and Description
<static>  
createjs.Filter.Type
Known filters.
Method Summary
Method Attributes Method Name and Description
 
applyFilter(context, x, y, width, height)
Applies this filter to the specified context.
 
Returns a rectangle required to draw this filter or null.
 
Returns the type of this filter.
Class Detail
createjs.Filter(type)
A base class for all filters. (This library uses a shader program to apply filters and this class is just for emulating CreateJS.)
Parameters:
{number} type
Field Detail
<static> createjs.Filter.Type
Known filters.
Method Detail
{boolean} applyFilter(context, x, y, width, height)
Applies this filter to the specified context. (This library does not use this method.)
Parameters:
{CanvasRenderingContext2D} context
{number} x
{number} y
{number} width
height
Returns:
{boolean}

{createjs.Rectangle} getBounds()
Returns a rectangle required to draw this filter or null. (This library does not use this method.)
Returns:
{createjs.Rectangle}

{number} getType()
Returns the type of this filter.
Returns:
{number}

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