Document the hueShift parameter.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@365 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Ray Greenwell
2007-12-04 22:31:12 +00:00
parent 9f3092e63a
commit 4845965208
@@ -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