| Package | net.guttershark.util.filters |
| Class | public class FilterUtils |
| Method | Defined by | ||
|---|---|---|---|
|
addBevel(target:DisplayObject, filter:BevelFilter):BevelFilter
Adds a new bevel filter to the display object.
| FilterUtils | ||
|
addBlur(target:DisplayObject, filter:BlurFilter):BlurFilter
Adds a new blur filter the the display object.
| FilterUtils | ||
|
addColorMatrix(target:DisplayObject, filter:ColorMatrixFilter):ColorMatrixFilter
Adds a new color matrix filter to the display object.
| FilterUtils | ||
|
addFilter(target:DisplayObject = null, filter:BitmapFilter = null):void
Add a filter of any type, to the target display object.
| FilterUtils | ||
|
addGlow(target:DisplayObject, filter:GlowFilter):GlowFilter
Adds a new glow filter to the display object.
| FilterUtils | ||
|
addGradientBevel(target:DisplayObject, filter:GradientBevelFilter):GradientBevelFilter
Adds a new gradient bevel filter to the display object.
| FilterUtils | ||
|
addGradientGlow(target:DisplayObject, filter:GradientGlowFilter):GradientGlowFilter
Adds a new gradient glow filter to the display object.
| FilterUtils | ||
|
addShadow(target:DisplayObject, filter:DropShadowFilter):DropShadowFilter
Adds a new shadow filter to the display object.
| FilterUtils | ||
|
clean(target:DisplayObject):void
Remove all filters from a target display object.
| FilterUtils | ||
|
cleanBevel(target:DisplayObject):void
Remove all bevel filters.
| FilterUtils | ||
|
cleanBlur(target:DisplayObject):void
Remove all blur filters.
| FilterUtils | ||
|
cleanGlow(target:DisplayObject):void
Remove all glow filters.
| FilterUtils | ||
|
cleanGradientBevel(target:DisplayObject):void
Remove all gradient bevel filters.
| FilterUtils | ||
|
cleanGradientGlow(target:DisplayObject):void
Remove all gradient glow filters.
| FilterUtils | ||
|
cleanShadow(target:DisplayObject):void
Remove all shadow filters.
| FilterUtils | ||
|
clearFilterType(target:DisplayObject = null, filterType:Class = null):void
Removes all filters of a certain type.
| FilterUtils | ||
|
getFilterIndex(target:DisplayObject = null, filter:BitmapFilter = null):int
Finds the last index of a filter and returns that index, or -1 if not found.
| FilterUtils | ||
|
getFilterTypeIndex(target:DisplayObject = null, filterType:Class = null):int
Finds the last index of a filter type, and returns that index, or -1 if not found.
| FilterUtils | ||
|
getSoftShadowFilter():DropShadowFilter
Return a default
DropShadowFilter. | FilterUtils | ||
|
[static]
Singleton access.
| FilterUtils | ||
|
luminanceTransform():ColorMatrixFilter
Returns a predefined greyscale color matrix.
| FilterUtils | ||
|
removeFilter(target:DisplayObject = null, filter:BitmapFilter = null):void
Remove a filter of any type.
| FilterUtils | ||
|
setBevel(target:DisplayObject, filter:BevelFilter):BevelFilter
Clears any current bevel filters, and applies a new one.
| FilterUtils | ||
|
setBlur(target:DisplayObject, filter:BlurFilter):BlurFilter
Clears any blur filters, and applies a new one.
| FilterUtils | ||
|
setColorMatrix(target:DisplayObject, filter:ColorMatrixFilter):ColorMatrixFilter
Clears any current color filters, and applies a new one.
| FilterUtils | ||
|
setGlow(target:DisplayObject, filter:GlowFilter):GlowFilter
Clears any current glow filters, and applies a new one.
| FilterUtils | ||
|
setGradientBevel(target:DisplayObject, filter:GradientBevelFilter):GradientBevelFilter
Clears any gradient bevel filters, and applies a new one.
| FilterUtils | ||
|
setGradientGlow(target:DisplayObject, filter:GradientGlowFilter):GradientGlowFilter
Clears any gradient glow filters, and applies a new one.
| FilterUtils | ||
|
setShadow(target:DisplayObject, filter:DropShadowFilter):DropShadowFilter
Clears any current shadow filters, and applies a new one.
| FilterUtils | ||
| addBevel | () | method |
public function addBevel(target:DisplayObject, filter:BevelFilter):BevelFilterAdds a new bevel filter to the display object.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:BevelFilter — A bevel filter.
|
BevelFilter |
| addBlur | () | method |
public function addBlur(target:DisplayObject, filter:BlurFilter):BlurFilterAdds a new blur filter the the display object.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:BlurFilter — A blur filter.
|
BlurFilter |
| addColorMatrix | () | method |
public function addColorMatrix(target:DisplayObject, filter:ColorMatrixFilter):ColorMatrixFilterAdds a new color matrix filter to the display object.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:ColorMatrixFilter — A color matrix filter.
|
ColorMatrixFilter |
| addFilter | () | method |
public function addFilter(target:DisplayObject = null, filter:BitmapFilter = null):voidAdd a filter of any type, to the target display object.
Parameterstarget:DisplayObject (default = null) — The target display object.
|
|
filter:BitmapFilter (default = null) — A bitmap filter.
|
| addGlow | () | method |
public function addGlow(target:DisplayObject, filter:GlowFilter):GlowFilterAdds a new glow filter to the display object.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:GlowFilter — A glow filter.
|
GlowFilter |
| addGradientBevel | () | method |
public function addGradientBevel(target:DisplayObject, filter:GradientBevelFilter):GradientBevelFilterAdds a new gradient bevel filter to the display object.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:GradientBevelFilter — A gradient bevel filter.
|
GradientBevelFilter |
| addGradientGlow | () | method |
public function addGradientGlow(target:DisplayObject, filter:GradientGlowFilter):GradientGlowFilterAdds a new gradient glow filter to the display object.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:GradientGlowFilter — A gradient glow filter.
|
GradientGlowFilter |
| addShadow | () | method |
public function addShadow(target:DisplayObject, filter:DropShadowFilter):DropShadowFilterAdds a new shadow filter to the display object.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:DropShadowFilter — A drop shadow filter.
|
DropShadowFilter |
| clean | () | method |
public function clean(target:DisplayObject):voidRemove all filters from a target display object.
Parameterstarget:DisplayObject — The target display object.
|
| cleanBevel | () | method |
public function cleanBevel(target:DisplayObject):voidRemove all bevel filters.
Parameterstarget:DisplayObject — The target display object.
|
| cleanBlur | () | method |
public function cleanBlur(target:DisplayObject):voidRemove all blur filters.
Parameterstarget:DisplayObject — The target display object.
|
| cleanGlow | () | method |
public function cleanGlow(target:DisplayObject):voidRemove all glow filters.
Parameterstarget:DisplayObject — The target display object.
|
| cleanGradientBevel | () | method |
public function cleanGradientBevel(target:DisplayObject):voidRemove all gradient bevel filters.
Parameterstarget:DisplayObject — The target display object.
|
| cleanGradientGlow | () | method |
public function cleanGradientGlow(target:DisplayObject):voidRemove all gradient glow filters.
Parameterstarget:DisplayObject — The target display object.
|
| cleanShadow | () | method |
public function cleanShadow(target:DisplayObject):voidRemove all shadow filters.
Parameterstarget:DisplayObject — target display object.
|
| clearFilterType | () | method |
public function clearFilterType(target:DisplayObject = null, filterType:Class = null):voidRemoves all filters of a certain type.
Parameterstarget:DisplayObject (default = null) — The target display object.
|
|
filterType:Class (default = null) — The class type of the filters to remove.
|
| getFilterIndex | () | method |
public function getFilterIndex(target:DisplayObject = null, filter:BitmapFilter = null):intFinds the last index of a filter and returns that index, or -1 if not found.
Parameterstarget:DisplayObject (default = null) — The target display object.
|
|
filter:BitmapFilter (default = null) — A bitmap filter.
|
int |
| getFilterTypeIndex | () | method |
public function getFilterTypeIndex(target:DisplayObject = null, filterType:Class = null):intFinds the last index of a filter type, and returns that index, or -1 if not found.
Parameterstarget:DisplayObject (default = null) — The target display object.
|
|
filterType:Class (default = null) — The class type of the filter to find.
|
int |
| getSoftShadowFilter | () | method |
public function getSoftShadowFilter():DropShadowFilter
Return a default DropShadowFilter.
DropShadowFilter |
| gi | () | method |
| luminanceTransform | () | method |
public function luminanceTransform():ColorMatrixFilterReturns a predefined greyscale color matrix.
ReturnsColorMatrixFilter |
| removeFilter | () | method |
public function removeFilter(target:DisplayObject = null, filter:BitmapFilter = null):voidRemove a filter of any type.
Parameterstarget:DisplayObject (default = null) — The target display object.
|
|
filter:BitmapFilter (default = null) — A bitmap filter.
|
| setBevel | () | method |
public function setBevel(target:DisplayObject, filter:BevelFilter):BevelFilterClears any current bevel filters, and applies a new one.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:BevelFilter — A bevel filter.
|
BevelFilter |
| setBlur | () | method |
public function setBlur(target:DisplayObject, filter:BlurFilter):BlurFilterClears any blur filters, and applies a new one.
Parameterstarget:DisplayObject — The taget display object.
|
|
filter:BlurFilter — A blur filter.
|
BlurFilter |
| setColorMatrix | () | method |
public function setColorMatrix(target:DisplayObject, filter:ColorMatrixFilter):ColorMatrixFilterClears any current color filters, and applies a new one.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:ColorMatrixFilter — A color matrix filter.
|
ColorMatrixFilter |
| setGlow | () | method |
public function setGlow(target:DisplayObject, filter:GlowFilter):GlowFilterClears any current glow filters, and applies a new one.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:GlowFilter — A glow filter.
|
GlowFilter |
| setGradientBevel | () | method |
public function setGradientBevel(target:DisplayObject, filter:GradientBevelFilter):GradientBevelFilterClears any gradient bevel filters, and applies a new one.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:GradientBevelFilter — A gradient bevel filter.
|
GradientBevelFilter |
| setGradientGlow | () | method |
public function setGradientGlow(target:DisplayObject, filter:GradientGlowFilter):GradientGlowFilterClears any gradient glow filters, and applies a new one.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:GradientGlowFilter — A gradient glow filter.
|
GradientGlowFilter |
| setShadow | () | method |
public function setShadow(target:DisplayObject, filter:DropShadowFilter):DropShadowFilterClears any current shadow filters, and applies a new one.
Parameterstarget:DisplayObject — The target display object.
|
|
filter:DropShadowFilter — A drop shadow filter.
|
DropShadowFilter |