EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Spezifikationen Seite 158

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 304
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 157
CHAPTER 4: User-Interface Tools Graphic customization objects 158
drawString()
controlObj.graphics.drawString (text, pen, x, y, font)
text
The text string.
pen
The ScriptUIPen object for the drawing pen to use.
x, y
The origin point of the drawn text, in the coordinate system of the control that
contains this graphics object.
font
Optional. The ScriptUIFont object for the font to use. Default is the font value in
this object.
Draws a string of text starting at a given point, using the given pen and font.
Returns
undefined.
ellipsePath()
controlObj.graphics.ellipsePath (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.
Defines an elliptical path within a given rectangular area in the currentPath
object, which can be
filled using fillPath()
or stroked using strokePath().
Returns a Point
object for the upper left corner of the area, which is the new currentPoint.
fillPath()
controlObj.graphics.fillPath (brush[, path])
brush
The ScriptUIBrush object that defines the fill color.
path
Optional, the ScriptUIPath object for the path. If not supplied, operates on the
currentPath
.
Fills a path using a given painting brush.
Returns
undefined.
lineto()
controlObj.graphics.lineto (x, y)
x, y
The destination point of the line, in the coordinate system of the control that
contains this graphics object.
Adds a path segment to the currentPath
, from the currentPoint to the specified point.
Returns a Point
object for the given destination point, which is the new current position.
Seitenansicht 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 303 304

Kommentare zu diesen Handbüchern

Keine Kommentare