Image imageNamed( string name )
name (string)
Image applicationImageNamed( string name )
fileName (string)
Image imageWithContentsOfFile( string fileName , bool cache )
path (string)
Image imageAtPath( string path )
Image
Image defaultDesktopImage()
data (Data)
Image imageWithData( Data data )
data (Data)
void setDesktopImageData( Data data )
Image
Image createApplicationDefaultPNG()
Loads an image from a URL.
Image imageFromURL( string url )
named (string)
Image( string named )
An array containing two float elements, the width and height.
jsval size readonly
int
int orientation
jsval
jsval patternColor readonly
Replaces the contents of this image with a new image created with the data.
setImageFromData( Data data )
rect (jsval)
drawAsPatternInRect( jsval rect )
rect (jsval) fromRect (jsval) operation (int) fraction (double)
compositeToRect( jsval rect , jsval fromRect , int operation , double fraction )
point (jsval) fromRect (jsval) operation (int) fraction (double)
compositeToPoint( jsval point , jsval fromRect , int operation , double fraction )
rect (jsval) operation (int) fraction (double)
draw1PartImageInRect( jsval rect , int operation , double fraction )
path (string)
bool saveToFile( string path )
resize( int width , int height )
Crops the image to the given rectangle.
crop( jsval rect )
Image createCopy()