Packageorg.openzoom.flash.descriptors
Classpublic final class ImagePyramidLevel
InheritanceImagePyramidLevel Inheritance org.openzoom.flash.descriptors.ImagePyramidLevelBase
ImplementsIImagePyramidLevel

The ImagePyramidLevel class represents a single level of a multiscale image pyramid. It is the default implementation of IImagePyramidLevel.



Public Methods
 MethodDefined by
  
ImagePyramidLevel(descriptor:IImagePyramidDescriptor, index:int, width:uint, height:uint, numColumns:int, numRows:int)
Constructor.
ImagePyramidLevel
  
Returns a copy of this object.
ImagePyramidLevel
  
getTileBounds(column:int, row:int):Rectangle
Returns the bounds of the specified tile.
ImagePyramidLevel
  
getTileURL(column:int, row:int):String
Returns the URL of the tile at the specified position.
ImagePyramidLevel
  
toString():String
ImagePyramidLevel
Constructor detail
ImagePyramidLevel()constructor
public function ImagePyramidLevel(descriptor:IImagePyramidDescriptor, index:int, width:uint, height:uint, numColumns:int, numRows:int)

Constructor.

Parameters
descriptor:IImagePyramidDescriptor
 
index:int
 
width:uint
 
height:uint
 
numColumns:int
 
numRows:int
Method detail
clone()method
public function clone():IImagePyramidLevel

Returns a copy of this object.

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

Returns the bounds of the specified tile.

Parameters
column:int
 
row:int

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

Returns the URL of the tile at the specified position.

Parameters
column:int
 
row:int

Returns
String
toString()method 
public override function toString():String

Returns
String