Adobe InDesign CS5 (7.0) Object Model JS: ScriptUIPath

InDesign CS5

Class

ScriptUIPath

 

A helper object that encapsulates a drawing path for a figure to be drawn into a window or control.

Create with the newPath()moveto()lineto()rectPath(), and ellipsePath() methods. Used as value of currentPath, where it is acted upon by methods such as closePath(). Pass as optional argument to fillPath() and strokePath(), which otherwise act upon the current path.

Element of

ScriptUIGraphics.currentPath

Used in:

void ScriptUIGraphics.fillPath (brush: ScriptUIBrush[, path: ScriptUIPath])

void ScriptUIGraphics.strokePath (pen: ScriptUIPen[, path: ScriptUIPath])

Return

ScriptUIPath ScriptUIGraphics.newPath ()

Jongware, 20-Jun-2010 v3.0.3dContents :: Index