Class Index | File Index

Classes


Class Karma.kImage

This object is the prototype for images submitted to Karma in the Karma() method
Defined in: karma.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Prototype object for images
Field Summary
Field Attributes Field Name and Description
<static>  
Karma.kImage.file
file location of image
<static>  
Karma.kImage.media
media object
Class Detail
Karma.kImage()
Prototype object for images
 kImage is the prototype object for images. This 'media' asset is loaded 
 in a distinctly different way from the canvas or svg assets.
Throws:
{Error}
if the image asset is set to be localized but the global locale is not set on the Karma object
{Error}
if the name and file properties are not supplied
Field Detail
<static> {String} Karma.kImage.file
file location of image
Default Value:
""

<static> {Image} Karma.kImage.media
media object
Default Value:
undefined

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Feb 01 2010 11:23:22 GMT+0545 (NPT)