Packageorg.openzoom.flash.descriptors
Interfacepublic interface IImagePyramidDescriptor extends IMultiScaleImageDescriptor
ImplementorsDeepZoomImageDescriptor, DjatokaDescriptor, GigaPanDescriptor, OpenStreetMapDescriptor, OpenZoomDescriptor, RosettaDiskBackDescriptor, RosettaDiskFrontDescriptor, VirtualEarthDescriptor, ZoomifyDescriptor

Interface of a multiscale image pyramid descriptor.



Public Properties
 PropertyDefined by
 Inheritedheight : uint
Returns the intrinsic height of the image in pixels.
IMultiScaleImageDescriptor
  numLevels : int
[read-only] Returns the number of levels of this object.
IImagePyramidDescriptor
  origin : String
[read-only] Returns the origin of the coordinate system for addressing tiles.
IImagePyramidDescriptor
 Inheritedsources : Array
Returns an array of IImageSourceDescriptor objects.
IMultiScaleImageDescriptor
  tileHeight : uint
[read-only] Returns the height of a single tile of the image pyramid in pixels.
IImagePyramidDescriptor
  tileOverlap : uint
[read-only] Returns the tile overlap in pixels.
IImagePyramidDescriptor
  tileWidth : uint
[read-only] Returns the width of a single tile of the image pyramid in pixels.
IImagePyramidDescriptor
  type : String
[read-only] Returns the mime-type of the image pyramid tiles, e.g.
IImagePyramidDescriptor
 Inheritedwidth : uint
Returns the intrinsic width of the image in pixels.
IMultiScaleImageDescriptor
Public Methods
 MethodDefined by
  
Returns a copy of this object.
IImagePyramidDescriptor
  
existsTile(level:int, column:int, row:int):Boolean
Returns a Boolean indicating if the tile at the given level, row and column exists.
IImagePyramidDescriptor
  
Returns the image pyramid level that exists at the specified index.
IImagePyramidDescriptor
  
getLevelForSize(width:Number, height:Number):IImagePyramidLevel
Returns the minimum pyramid level that has a greater or equal size than specified by the arguments width and height.
IImagePyramidDescriptor
  
getTileAtPoint(level:int, point:Point):Point
Returns the tile at the given level under the given point.
IImagePyramidDescriptor
  
getTileBounds(level:int, column:int, row:int):Rectangle
Returns the bounds (position and dimensions) of the tile specified by the level, column and row.
IImagePyramidDescriptor
  
getTileURL(level:int, column:int, row:int):String
Returns the URL of the tile specified by its level, column and row.
IImagePyramidDescriptor
Property detail
numLevelsproperty
numLevels:int  [read-only]

Returns the number of levels of this object.

Implementation
    public function get numLevels():int
originproperty 
origin:String  [read-only]

Returns the origin of the coordinate system for addressing tiles.

The default value is topLeft.

Implementation
    public function get origin():String
tileHeightproperty 
tileHeight:uint  [read-only]

Returns the height of a single tile of the image pyramid in pixels.

Implementation
    public function get tileHeight():uint
tileOverlapproperty 
tileOverlap:uint  [read-only]

Returns the tile overlap in pixels.

The default value is 0.

Implementation
    public function get tileOverlap():uint
tileWidthproperty 
tileWidth:uint  [read-only]

Returns the width of a single tile of the image pyramid in pixels.

Implementation
    public function get tileWidth():uint
typeproperty 
type:String  [read-only]

Returns the mime-type of the image pyramid tiles, e.g. <image/jpeg> or <image/png>.

Implementation
    public function get type():String
Method detail
clone()method
public function clone():IImagePyramidDescriptor

Returns a copy of this object.

Returns
IImagePyramidDescriptor
existsTile()method 
public function existsTile(level:int, column:int, row:int):Boolean

Returns a Boolean indicating if the tile at the given level, row and column exists.

Parameters
level:int
 
column:int
 
row:int

Returns
Boolean
getLevelAt()method 
public function getLevelAt(index:int):IImagePyramidLevel

Returns the image pyramid level that exists at the specified index.

Parameters
index:int

Returns
IImagePyramidLevel
getLevelForSize()method 
public function getLevelForSize(width:Number, height:Number):IImagePyramidLevel

Returns the minimum pyramid level that has a greater or equal size than specified by the arguments width and height.

Parameters
width:Number
 
height:Number

Returns
IImagePyramidLevel
getTileAtPoint()method 
public function getTileAtPoint(level:int, point:Point):Point

Returns the tile at the given level under the given point.

Parameters
level:int
 
point:Point

Returns
Point
getTileBounds()method 
public function getTileBounds(level:int, column:int, row:int):Rectangle

Returns the bounds (position and dimensions) of the tile specified by the level, column and row.

Parameters
level:int
 
column:int
 
row:int

Returns
Rectangle
getTileURL()method 
public function getTileURL(level:int, column:int, row:int):String

Returns the URL of the tile specified by its level, column and row.

Parameters
level:int
 
column:int
 
row:int

Returns
String