Packagegraphics.filters
Classpublic class SharpenFilter
InheritanceSharpenFilter Inheritance ShaderCustomFilter Inheritance flash.filters.ShaderFilter

The SharpenFilter class applies a sharpen effect over a picture. The Shader must be defines with the Sharpen pixelbender implementation.



Public Properties
 PropertyDefined By
  amount : Number
The amount value of the sharpen filter (between 0 and 100).
SharpenFilter
 Inheriteddescription : String
[read-only] The description of the filter (defines in the Shader).
ShaderCustomFilter
 Inheritedname : String
[read-only] The name of the filter (defines in the Shader).
ShaderCustomFilter
 Inheritednamespace : String
[read-only] The namespace of the filter (defines in the Shader).
ShaderCustomFilter
  radius : Number
The radius value of the sharpen filter (between 0 and 1).
SharpenFilter
 Inheritedversion : String
[read-only] The version of the filter (defines in the Shader).
ShaderCustomFilter
Public Methods
 MethodDefined By
  
SharpenFilter(shader:Shader = null, init:Object = null)
Creates a new SharpenFilter instance.
SharpenFilter
  
clone():BitmapFilter
[override] Returns a shallow copy of the object.
SharpenFilter
Property Detail
amountproperty
amount:Number

The amount value of the sharpen filter (between 0 and 100).


Implementation
    public function get amount():Number
    public function set amount(value:Number):void
radiusproperty 
radius:Number

The radius value of the sharpen filter (between 0 and 1).


Implementation
    public function get radius():Number
    public function set radius(value:Number):void
Constructor Detail
SharpenFilter()Constructor
public function SharpenFilter(shader:Shader = null, init:Object = null)

Creates a new SharpenFilter instance.

Parameters
shader:Shader (default = null) — The Shader reference with the Sharpen pixel bender filter inside.
 
init:Object (default = null) — The optional dynamic object to initialize the filter.
Method Detail
clone()method
override public function clone():BitmapFilter

Returns a shallow copy of the object.

Returns
BitmapFilter — a shallow copy of the object.