From 4845965208ec25f47aa53179d8c00e3659c12af1 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Tue, 4 Dec 2007 22:31:12 +0000 Subject: [PATCH] Document the hueShift parameter. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@365 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/flash/FilterUtil.as | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/as/com/threerings/flash/FilterUtil.as b/src/as/com/threerings/flash/FilterUtil.as index f990a39c..461d0459 100644 --- a/src/as/com/threerings/flash/FilterUtil.as +++ b/src/as/com/threerings/flash/FilterUtil.as @@ -184,6 +184,8 @@ public class FilterUtil /** * Create a filter that, if applied to a DisplayObject, will shift the hue of that object * by the given value. + * + * @param hueShift a value, in degrees, between -180 and 180. */ public static function createHueShift (hue :int) :ColorMatrixFilter { @@ -193,6 +195,8 @@ public class FilterUtil /** * Shift the color matrix filter by the given amount. This is adapted from the code found at * http://www.kirupa.com/forum/showthread.php?t=230706 + * + * @param hueShift a value, in degrees, between -180 and 180. */ public static function shiftHueBy (original :ColorMatrixFilter, hueShift :int) :ColorMatrixFilter