CS3 JS: ScriptUIImage

CS3 ScriptUI

ScriptUIImage

 

Encapsulates a set of images that can be drawn into a control.

Different images can reflect the current state, such as a dimmed version for a disabled control. the newImage() method. Passed as an argument to drawImage().

Properties

PropertyTypeAccessDescription
formatStringreadonlyThe image format. One of: resource, JPEG, GIF, TIFF, PNG, or PICT (Macintosh).
nameStringreadonlyThe image name. Either the file name, or the resource name.
pathnameStringreadonlyThe full path to the file that contains the image.
sizeDimensionreadonlyThe image size in pixels.

Element of

IconButton.image

Image.image

ListItem.image

Used in

ScriptUIGraphics.drawImage (image:ScriptUIImage, left:Number, top:Number, width:Number, height:Number)

Return

ScriptUIImage ScriptUI.newImage (normal:String, disabled:String, pressed:String, rollover:String)

Contents :: Index