Packageorg.openzoom.flash.descriptors.deepzoom
Classpublic final class DeepZoomImageDescriptor
InheritanceDeepZoomImageDescriptor Inheritance org.openzoom.flash.descriptors.ImagePyramidDescriptorBase
ImplementsIImagePyramidDescriptor

Descriptor for the Microsoft Deep Zoom Image (DZI) format.



Public Properties
 PropertyDefined by
  collection : DeepZoomCollectionDescriptor
[read-only] Returns the collection this image belongs to or null if it does not belong to a collection.
DeepZoomImageDescriptor
  format : String
[read-only] Returns the format of the image pyramid.
DeepZoomImageDescriptor
  mortonNumber : uint
[read-only] Returns the Morton number of this image within the collection.
DeepZoomImageDescriptor
  tileSize : uint
[read-only] Returns the size of a single tile of the image pyramid in pixels.
DeepZoomImageDescriptor
Public Methods
 MethodDefined by
  
DeepZoomImageDescriptor(source:String, width:uint, height:uint, tileSize:uint, tileOverlap:uint, format:String, displayRects:Array = null, mortonNumber:uint = 0, collection:DeepZoomCollectionDescriptor = null)
Constructor.
DeepZoomImageDescriptor
  
Returns a copy of this object.
DeepZoomImageDescriptor
  
existsTile(level:int, column:int, row:int):Boolean
DeepZoomImageDescriptor
  
fromXML(source:String, xml:XML):DeepZoomImageDescriptor
[static] Create descriptor from XML.
DeepZoomImageDescriptor
  
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.
DeepZoomImageDescriptor
  
getTileURL(level:int, column:int, row:int):String
Returns the URL of the tile specified by its level, column and row.
DeepZoomImageDescriptor
  
toString():String
DeepZoomImageDescriptor
Property detail
collectionproperty
collection:DeepZoomCollectionDescriptor  [read-only]

Returns the collection this image belongs to or null if it does not belong to a collection.

Implementation
    public function get collection():DeepZoomCollectionDescriptor
formatproperty 
format:String  [read-only]

Returns the format of the image pyramid.

Implementation
    public function get format():String
mortonNumberproperty 
mortonNumber:uint  [read-only]

Returns the Morton number of this image within the collection. The Morton number is only valid if collection is not null.

Implementation
    public function get mortonNumber():uint
tileSizeproperty 
tileSize:uint  [read-only]

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

Implementation
    public function get tileSize():uint
Constructor detail
DeepZoomImageDescriptor()constructor
public function DeepZoomImageDescriptor(source:String, width:uint, height:uint, tileSize:uint, tileOverlap:uint, format:String, displayRects:Array = null, mortonNumber:uint = 0, collection:DeepZoomCollectionDescriptor = null)

Constructor.

Parameters
source:String
 
width:uint
 
height:uint
 
tileSize:uint
 
tileOverlap:uint
 
format:String
 
displayRects:Array (default = null)
 
mortonNumber:uint (default = 0)
 
collection:DeepZoomCollectionDescriptor (default = null)
Method detail
clone()method
public function clone():IImagePyramidDescriptor

Returns a copy of this object.

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

Parameters
level:int
 
column:int
 
row:int

Returns
Boolean
fromXML()method 
public static function fromXML(source:String, xml:XML):DeepZoomImageDescriptor

Create descriptor from XML.

Parameters
source:String
 
xml:XML

Returns
DeepZoomImageDescriptor
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
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
toString()method 
public override function toString():String

Returns
String