| Package | graphics.filters |
| Class | public class TwirlFilter |
| Inheritance | TwirlFilter ShaderCustomFilter flash.filters.ShaderFilter |
| Property | Defined By | ||
|---|---|---|---|
| angle : Number
The angle in degrees of the twirl filter. | TwirlFilter | ||
| center : Point
The center of the twirl filter. | TwirlFilter | ||
![]() | description : String [read-only]
The description of the filter (defines in the Shader). | ShaderCustomFilter | |
| gaussian : Boolean
The gaussian flag indicates if a gaussian calcul is used to defines the filter or not. | TwirlFilter | ||
![]() | 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 twirl filter. | TwirlFilter | ||
![]() | version : String [read-only]
The version of the filter (defines in the Shader). | ShaderCustomFilter | |
| Method | Defined By | ||
|---|---|---|---|
TwirlFilter(shader:Shader = null, init:Object = null)
Creates a new TwirlFilter instance. | TwirlFilter | ||
clone():BitmapFilter [override]
Returns a shallow copy of the object. | TwirlFilter | ||
| angle | property |
angle:NumberThe angle in degrees of the twirl filter.
public function get angle():Number public function set angle(value:Number):void| center | property |
center:PointThe center of the twirl filter.
public function get center():Point public function set center(value:Point):void| gaussian | property |
gaussian:BooleanThe gaussian flag indicates if a gaussian calcul is used to defines the filter or not.
public function get gaussian():Boolean public function set gaussian(value:Boolean):void| radius | property |
radius:NumberThe radius of the twirl filter.
public function get radius():Number public function set radius(value:Number):void| TwirlFilter | () | Constructor |
public function TwirlFilter(shader:Shader = null, init:Object = null)Creates a new TwirlFilter instance.
Parametersshader:Shader (default = null) — The Shader reference with the Twirl 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.
|