Packageorg.openzoom.flash.descriptors.zoomify
Classpublic class ZoomifyDescriptor
InheritanceZoomifyDescriptor Inheritance org.openzoom.flash.descriptors.ImagePyramidDescriptorBase
ImplementsIImagePyramidDescriptor

Descriptor for the Zoomify multiscale image format.



Public Properties
 PropertyDefined by
  tileSize : uint
[read-only] Returns the size of a single tile of the image pyramid in pixels.
ZoomifyDescriptor
Public Methods
 MethodDefined by
  
ZoomifyDescriptor(source:String, width:uint, height:uint, tileSize:uint = 256)
Constructor.
ZoomifyDescriptor
  
Returns a copy of this object.
ZoomifyDescriptor
  
fromXML(source:String, xml:XML):ZoomifyDescriptor
[static] Create descriptor from XML.
ZoomifyDescriptor
  
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.
ZoomifyDescriptor
  
getTileURL(level:int, column:int, row:int):String
Returns the URL of the tile specified by its level, column and row.
ZoomifyDescriptor
  
toString():String
ZoomifyDescriptor
Property detail
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
ZoomifyDescriptor()constructor
public function ZoomifyDescriptor(source:String, width:uint, height:uint, tileSize:uint = 256)

Constructor.

Parameters
source:String
 
width:uint
 
height:uint
 
tileSize:uint (default = 256)
Method detail
clone()method
public function clone():IImagePyramidDescriptor

Returns a copy of this object.

Returns
IImagePyramidDescriptor
fromXML()method 
public static function fromXML(source:String, xml:XML):ZoomifyDescriptor

Create descriptor from XML.

Parameters
source:String
 
xml:XML

Returns
ZoomifyDescriptor
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