Packagegraphics.filters
Classpublic class RoundPixelFilter
InheritanceRoundPixelFilter Inheritance ShaderCustomFilter Inheritance flash.filters.ShaderFilter

The RoundPixelFilter class applies a filter by executing a shader on the object being filtered. The Shader must be defines with the RoundPixel pixelbender implementation.



Public Properties
 PropertyDefined By
 Inheriteddescription : String
[read-only] The description of the filter (defines in the Shader).
ShaderCustomFilter
  edge : Number
Indicates the edge alpha level of the rounded pixels (between 0 and 300).
RoundPixelFilter
 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
  size : Number
The size ratio of the circle pixels (between 0 and 2).
RoundPixelFilter
  space : Number
The space between the centers of the circles (between 1 and 300).
RoundPixelFilter
 Inheritedversion : String
[read-only] The version of the filter (defines in the Shader).
ShaderCustomFilter
Public Methods
 MethodDefined By
  
RoundPixelFilter(shader:Shader = null, init:Object = null)
Creates a new RoundPixelFilter instance.
RoundPixelFilter
  
clone():BitmapFilter
[override] Returns a shallow copy of the object.
RoundPixelFilter
Property Detail
edgeproperty
edge:Number

Indicates the edge alpha level of the rounded pixels (between 0 and 300).


Implementation
    public function get edge():Number
    public function set edge(value:Number):void
sizeproperty 
size:Number

The size ratio of the circle pixels (between 0 and 2).


Implementation
    public function get size():Number
    public function set size(value:Number):void
spaceproperty 
space:Number

The space between the centers of the circles (between 1 and 300).


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

Creates a new RoundPixelFilter instance.

Parameters
shader:Shader (default = null) — The Shader reference with the RoundPixel 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.