EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificaciones Pagina 162

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 161
CHAPTER 4: User-Interface Tools Graphic customization objects 162
ScriptUIImage object
A helper object that encapsulates a set of images that can be drawn into a control. Alternate versions of an
image can reflect the state, such as a dimmed version for a disabled control.
An object of this type is created automatically when a script uses a pathname or File object
to set the
image
property of an Image, IconButton, or ListItem object; the new object becomes the value of that
property.
You can create this object explicitly using the newImage()
method of the ScriptUI class. When you do this,
you can specify alternate versions of the image to be used for different control states, such as enabled,
disabled, and rollover.
This object is passed as an argument to drawImage()
.
ScriptUIImage object properties
The object contains the following read-only properties:
ScriptUIPath object
A helper object that encapsulates a drawing path for a figure to be drawn into a control. Create the object
the newPath()
method and define path segments with the moveto(), lineto(), rectPath(), and ellipsePath()
methods of the ScriptUIGraphics object
.
X Used as a value of currentPath, where it is acted upon by closePath() and other methods.
X Can be passed as an optional argument to fillPath() and strokePath() (which otherwise act upon the
currentPath
).
The class defines no properties or methods.
style
Object The font style. One of these constants:
ScriptUI.FontStyle.REGULAR
ScriptUI.FontStyle.BOLD
ScriptUI.FontStyle.ITALIC
ScriptUI.FontStyle.BOLDITALIC
substitute
String The name of a substitution font, a fallback font to substitute for this font
if the requested font family or style is not available.
format
String The image format. Scripts can define images in JPEG and PNG format.
Applications can define images in the
resource format.
name
String The image name, either a file name or resource name.
pathname
String The full path to the file that contains the image.
size
Dimension A Dimension object that defines the size of the image in pixels.
Vista de pagina 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 303 304

Comentarios a estos manuales

Sin comentarios