ScriptUIImage (SUI)

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. Create with the newImage() method. Passed as an argument to drawImage().

Objects:

Dimension (SUI), String

Property Listing

Property

Type

Access

Description

format

String

readonly

The image format. One of: resource, JPEG, GIF, TIFF, PNG, or PICT (Macintosh).

name

String

readonly

The image name. Either the file name, or the resource name.

pathname

String

readonly

The full path to the file that contains the image.

size

Dimension (SUI)

readonly

The image size in pixels.

Object of

ListItem (SUI).image

IconButton (SUI).image

Return

ScriptUI (SUI).newImage()