com. kelvinluck. flickr. PhotoSize

Class to describe the size of a Photo from Flickr.

Currently very bare bones - this class will be expanded as I program the interaction with the flickr.photos.* Flikr API calls

Licence

This code and documentation is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0.  http://creativecommons.org/licenses/by-nc-sa/2.0/

See Also

Photo

Author

Kelvin Luck < kelvin at kelvinluck dot com >

Summary
Class to describe the size of a Photo from Flickr.
The photo that this PhotoSize is associated with
This photo size’s label.
This Photo’s width.
This Photo’s height.
This photo size’s source.
This photo size’s url.

photo

public var photo: Photo

The photo that this PhotoSize is associated with

label

public var label: String

This photo size’s label.

width

public var width: Number

This Photo’s width.

height

public var height: Number

This Photo’s height.

source

public var source: String

This photo size’s source.

url

public var url: String

This photo size’s url.

PhotoSize

function PhotoSize(photo: Photo,
label: String)
Constructor functioncreates a new PhotoSize object.
Class to describe a photo from Flickr.
public var photo: Photo
The photo that this PhotoSize is associated with
public var label: String
This photo size’s label.
public var width: Number
This Photo’s width.
public var height: Number
This Photo’s height.
public var source: String
This photo size’s source.
public var url: String
This photo size’s url.
function PhotoSize(photo: Photo,
label: String)