Packageorg.openzoom.flash.descriptors.gigapan
Classpublic final class GigaPanDescriptor
InheritanceGigaPanDescriptor Inheritance org.openzoom.flash.descriptors.ImagePyramidDescriptorBase
ImplementsIImagePyramidDescriptor

Descriptor for the GigaPan.org project panoramas. For educational purposes only. Please respect the project's copyright.



Public Methods
 MethodDefined by
  
GigaPanDescriptor(source:String, width:uint, height:uint)
Constructor.
GigaPanDescriptor
  
Returns a copy of this object.
GigaPanDescriptor
  
fromID(id:uint, width:uint, height:uint):GigaPanDescriptor
[static] Constructor.
GigaPanDescriptor
  
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.
GigaPanDescriptor
  
getTileURL(level:int, column:int, row:int):String
Returns the URL of the tile specified by its level, column and row.
GigaPanDescriptor
  
toString():String
GigaPanDescriptor
Constructor detail
GigaPanDescriptor()constructor
public function GigaPanDescriptor(source:String, width:uint, height:uint)

Constructor.

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

Returns a copy of this object.

Returns
IImagePyramidDescriptor
fromID()method 
public static function fromID(id:uint, width:uint, height:uint):GigaPanDescriptor

Constructor.

Parameters
id:uint
 
width:uint
 
height:uint

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