New CSS3 Filters component and Net class.

This commit is contained in:
Richard Davey
2013-07-19 04:57:14 +01:00
parent 9827e7522f
commit 3c123293ba
27 changed files with 1670 additions and 27 deletions
+9
View File
@@ -34,6 +34,8 @@ module Phaser {
this.canvas.height = height;
this.context = this.canvas.getContext('2d');
this.css3 = new Phaser.Components.CSS3Filters(this.canvas);
this.bounds = new Rectangle(0, 0, width, height);
}
@@ -59,6 +61,13 @@ module Phaser {
// Input / Output nodes?
/**
* Controls the CSS3 Filters applied to the textures canvas object.
* Only really useful if you attach this canvas to the DOM.
* @type {Phaser.Components.CSS3Filters}
*/
public css3: Phaser.Components.CSS3Filters;
/**
* Bound of this texture with width and height info.
* @type {Rectangle}