| Package | graphics.filters |
| Class | public class KnockoutFilter |
| Inheritance | KnockoutFilter ShaderCustomFilter flash.filters.ShaderFilter |
| Property | Defined By | ||
|---|---|---|---|
| color : Number
The threshold value of the knockout. | KnockoutFilter | ||
![]() | 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 | |
| threshold : Number
The threshold value of the knockout. | KnockoutFilter | ||
![]() | version : String [read-only]
The version of the filter (defines in the Shader). | ShaderCustomFilter | |
| Method | Defined By | ||
|---|---|---|---|
KnockoutFilter(shader:Shader = null, init:Object = null)
Creates a new KnockoutFilter instance. | KnockoutFilter | ||
clone():BitmapFilter [override]
Returns a shallow copy of the object. | KnockoutFilter | ||
| color | property |
color:NumberThe threshold value of the knockout.
public function get color():Number public function set color(value:Number):void| threshold | property |
threshold:NumberThe threshold value of the knockout.
public function get threshold():Number public function set threshold(value:Number):void| KnockoutFilter | () | Constructor |
public function KnockoutFilter(shader:Shader = null, init:Object = null)Creates a new KnockoutFilter instance.
Parametersshader:Shader (default = null) — The Shader reference with the Knockout 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.
|