| Package | graphics.filters |
| Class | public class MosaicFilter |
| Inheritance | MosaicFilter ShaderCustomFilter flash.filters.ShaderFilter |
| Property | Defined By | ||
|---|---|---|---|
![]() | 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 | |
| size : Number
The size of the mosaic squared pixels (between 1 and 1000 px, default 20 px). | MosaicFilter | ||
![]() | version : String [read-only]
The version of the filter (defines in the Shader). | ShaderCustomFilter | |
| Method | Defined By | ||
|---|---|---|---|
MosaicFilter(init:Object = null, shader:Shader = null)
Creates a new MosaicFilter instance. | MosaicFilter | ||
clone():BitmapFilter [override]
Returns a shallow copy of the object. | MosaicFilter | ||
| size | property |
size:NumberThe size of the mosaic squared pixels (between 1 and 1000 px, default 20 px).
public function get size():Number public function set size(value:Number):void| MosaicFilter | () | Constructor |
public function MosaicFilter(init:Object = null, shader:Shader = null)Creates a new MosaicFilter instance.
Parametersinit:Object (default = null) — The Shader reference with the Mosaic pixel bender filter inside.
| |
shader:Shader (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.
|