From d75eea464d8b25fe68bbf377ddf83cde1f57af32 Mon Sep 17 00:00:00 2001 From: dagnelies Date: Mon, 7 Sep 2015 16:41:46 +0200 Subject: [PATCH] Fixed ColorMatrix as described in #26 --- createjs/easeljs/ColorMatrix.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/createjs/easeljs/ColorMatrix.hx b/createjs/easeljs/ColorMatrix.hx index 82b3af6..2959755 100644 --- a/createjs/easeljs/ColorMatrix.hx +++ b/createjs/easeljs/ColorMatrix.hx @@ -1,7 +1,7 @@ package createjs.easeljs; @:native("createjs.ColorMatrix") -extern class ColorMatrix extends Array{ +extern class ColorMatrix { public function new(brightness:Float, contrast:Float, saturation:Float, hue:Float):Void; public function adjustBrightness(value:Float):ColorMatrix; @@ -13,8 +13,8 @@ extern class ColorMatrix extends Array{ public function concat(matrix:Array):ColorMatrix; public function copyMatrix(matrix:Array):ColorMatrix; public function reset():ColorMatrix; - public function toArray():Array; + public function toArray():Array; public static var DELTA_INDEX:Array; public static var IDENTITY_MATRIX:Array; -} \ No newline at end of file +}