Packagegraphics.filters.projections
Classpublic class GnomonicFilter
InheritanceGnomonicFilter Inheritance ShaderCustomFilter Inheritance flash.filters.ShaderFilter

Apply a gnomonic azimuthal projection. The Shader must be defines with the Gnomonic pixelbender implementation.



Public Properties
 PropertyDefined By
 Inheriteddescription : String
[read-only] The description of the filter (defines in the Shader).
ShaderCustomFilter
  fieldOfView : Number
Specifies an angle, as a degree between 1 and 360, for the field of view of the projection.
GnomonicFilter
  focalLength : Number
The distance between the camera and the view located in the z-axis.
GnomonicFilter
  height : Number
The height of the picture to transform.
GnomonicFilter
 Inheritedname : String
[read-only] The name of the filter (defines in the Shader).
ShaderCustomFilter
 Inheritednamespace : String
[read-only] The namespace of the filter (defines in the Shader).
ShaderCustomFilter
 Inheritedversion : String
[read-only] The version of the filter (defines in the Shader).
ShaderCustomFilter
  width : Number
The width of the picture to transform.
GnomonicFilter
Public Methods
 MethodDefined By
  
GnomonicFilter(shader:Shader = null, init:Object = null)
Creates a new GnomonicFilter instance.
GnomonicFilter
  
clone():BitmapFilter
[override] Returns a shallow copy of the object.
GnomonicFilter
Property Detail
fieldOfViewproperty
fieldOfView:Number

Specifies an angle, as a degree between 1 and 360, for the field of view of the projection.


Implementation
    public function get fieldOfView():Number
    public function set fieldOfView(value:Number):void
focalLengthproperty 
focalLength:Number

The distance between the camera and the view located in the z-axis.


Implementation
    public function get focalLength():Number
    public function set focalLength(value:Number):void
heightproperty 
height:Number

The height of the picture to transform.


Implementation
    public function get height():Number
    public function set height(value:Number):void
widthproperty 
width:Number

The width of the picture to transform.


Implementation
    public function get width():Number
    public function set width(value:Number):void
Constructor Detail
GnomonicFilter()Constructor
public function GnomonicFilter(shader:Shader = null, init:Object = null)

Creates a new GnomonicFilter instance.

Parameters
shader:Shader (default = null) — The Shader reference with the Gnomonic pixel bender filter inside.
 
init:Object (default = null) — The optional dynamic object to initialize the filter.
Method Detail
clone()method
override public function clone():BitmapFilter

Returns a shallow copy of the object.

Returns
BitmapFilter — a shallow copy of the object.