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