Closes the current path.
ScriptUIGraphics
An object used to draw custom graphics, found in the graphics property of window, container, and control objects.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| static | Object | readonly | Contains the enumerated constants for the type argument of newBrush(). |
| static | Object | readonly | Contains the enumerated constants for the type argument of newPen(). |
| ScriptUIBrush | read/write | The background color for containers; for non-containers, the parent background color. | |
| ScriptUIPath | readonly | The current drawing path, encapsulated in a path object. | |
| Point | readonly | The current position in the current drawing path. | |
| ScriptUIBrush | read/write | The background color for containers when disabled or inactive; for non-containers, the parent background color. | |
| ScriptUIPen | read/write | The text color when the element is disabled or inactive. | |
| ScriptUIFont | read/write | The default font to use for displaying text. | |
| ScriptUIPen | read/write | The text color. |
Methods
Draws a focus ring within a region of this element.
Draws an image within a given region of the element.
Draw the platform-specific control associated with this element.
Draw a string of text starting at a given point in this element, using a given drawing pen and font.
Defines an elliptical path within a given rectangular area in the currentPath object, which can be filled using fillPath() or stroked using strokePath().
Fills a path using a given painting brush.
Adds a path segment to the currentPath.
Calculates the size needed to display a string using the given font.
Adds a given point to the currentPath, and makes it the current drawing position.
Creates a new painting brush object.
Creates a new, empty path object.
Creates a new drawing pen object.
Defines a rectangular path in the currentPath object.
Strokes the path segments of a path with a given drawing pen.
Object of 15
Properties elsewhere that hold a ScriptUIGraphics.