EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 157

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 156
CHAPTER 4: User-Interface Tools Graphic customization objects 157
ScriptUIGraphics object functions
These functions directly customize the appearance of the associated element by drawing on the screen, or
create the Pen and Brush objects used to populate the graphics object or pass to the drawing methods:
closePath()
controlObj.graphics.closePath ( )
Defines a line from the current position to the start point of the current path (the value of
currentPath
), which closes the path.
Returns
undefined.
drawFocusRing()
controlObj.graphics.drawFocusRing (left, top[, width, height])
left, top
Defines the top left corner of the region, in the coordinate system of the control
that contains this graphics object.
width, height
The width and height of the region in pixels.
Draws a focus ring within the given rectangular region. This is a visual indicator showing that a given
control has the keyboard focus (accepts keyboard input). In Mac OS, this is typically a light blue ring
around the control. In Windows, it is typically a dashed-line rectangle around some part of the
control.
Returns
undefined.
drawImage()
controlObj.graphics.drawImage (image, left, top[, width, height])
image
The ScriptUIImage object containing the images to be drawn.
left, top
Defines the top left corner of the drawing region, in the coordinate system of the
control that contains this graphics object.
width, height
Optional. The width and height of the drawing region in pixels. If specified, the
image is stretched or shrunk to fit into the given rectangular area. If omitted, the
images original width or height is used.
Draws an image within the given rectangular region, using the image file from the given image
object that is appropriate to the control’s current state.
Returns
undefined.
drawOSControl()
controlObj.graphics.drawOSControl ( )
Draws the platform-specific control associated with this element.
Returns
undefined.
Vista de página 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 303 304

Comentários a estes Manuais

Sem comentários