| Package | graphics.filters |
| Class | public class CircleSpectrumFilter |
| Inheritance | CircleSpectrumFilter ShaderCustomFilter flash.filters.ShaderFilter |
| Property | Defined By | ||
|---|---|---|---|
| center : Point
The center position of the circle (between {0,0} and {2800,2800}, default {100,100}). | CircleSpectrumFilter | ||
![]() | description : String [read-only]
The description of the filter (defines in the Shader). | ShaderCustomFilter | |
| innerRadius : Number
The inner radius of the circle (between 0 and 2800 px, default 100 px). | CircleSpectrumFilter | ||
![]() | 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 | |
| outerRadius : Number
The outer radius of the circle (between 0 and 2800 px, default 100 px). | CircleSpectrumFilter | ||
| ratio : Number
The ratio of the spectrum circle (between 0 and 1, default 1). | CircleSpectrumFilter | ||
| rotation : Number
The ratio of the spectrum circle (between 0 and 360, default 0). | CircleSpectrumFilter | ||
![]() | version : String [read-only]
The version of the filter (defines in the Shader). | ShaderCustomFilter | |
| Method | Defined By | ||
|---|---|---|---|
CircleSpectrumFilter(shader:Shader = null, init:Object = null)
Creates a new CircleSpectrumFilter instance. | CircleSpectrumFilter | ||
clone():BitmapFilter [override]
Returns a shallow copy of the object. | CircleSpectrumFilter | ||
| center | property |
center:PointThe center position of the circle (between {0,0} and {2800,2800}, default {100,100}).
public function get center():Point public function set center(value:Point):void| innerRadius | property |
innerRadius:NumberThe inner radius of the circle (between 0 and 2800 px, default 100 px).
public function get innerRadius():Number public function set innerRadius(value:Number):void| outerRadius | property |
outerRadius:NumberThe outer radius of the circle (between 0 and 2800 px, default 100 px).
public function get outerRadius():Number public function set outerRadius(value:Number):void| ratio | property |
ratio:NumberThe ratio of the spectrum circle (between 0 and 1, default 1).
public function get ratio():Number public function set ratio(value:Number):void| rotation | property |
rotation:NumberThe ratio of the spectrum circle (between 0 and 360, default 0).
public function get rotation():Number public function set rotation(value:Number):void| CircleSpectrumFilter | () | Constructor |
public function CircleSpectrumFilter(shader:Shader = null, init:Object = null)Creates a new CircleSpectrumFilter instance.
Parametersshader:Shader (default = null) — The Shader reference with the CircleSpectrum 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.
|