| Package | graphics.filters |
| Class | public class HoleFilter |
| Inheritance | HoleFilter ShaderCustomFilter flash.filters.ShaderFilter |
| Property | Defined By | ||
|---|---|---|---|
| center : Point
The center of the hole filter. | HoleFilter | ||
![]() | description : String [read-only]
The description of the filter (defines in the Shader). | ShaderCustomFilter | |
![]() | name : String [read-only]
The name of the filter (defines in the Shader). | ShaderCustomFilter | |
![]() | namespace : String [read-only]
The namespace of the filter (defines in the Shader). | ShaderCustomFilter | |
| radius : Number
The radius of the hole filter. | HoleFilter | ||
![]() | version : String [read-only]
The version of the filter (defines in the Shader). | ShaderCustomFilter | |
| Method | Defined By | ||
|---|---|---|---|
HoleFilter(shader:Shader = null, init:Object = null)
Creates a new HoleFilter instance. | HoleFilter | ||
clone():BitmapFilter [override]
Returns a shallow copy of the object. | HoleFilter | ||
| center | property |
center:PointThe center of the hole filter.
public function get center():Point public function set center(value:Point):void| radius | property |
radius:NumberThe radius of the hole filter.
public function get radius():Number public function set radius(value:Number):void| HoleFilter | () | Constructor |
public function HoleFilter(shader:Shader = null, init:Object = null)Creates a new HoleFilter instance.
Parametersshader:Shader (default = null) — The Shader reference with the Hole pixel bender filter inside.
| |
init:Object (default = null) — The optional dynamic object to initialize the filter.
|
| clone | () | method |
override public function clone():BitmapFilterReturns a shallow copy of the object.
ReturnsBitmapFilter — a shallow copy of the object.
|