Adobe InDesign CS6 (8.0) Object Model JS: ScriptUIPath

InDesign CS6

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, 28-Apr-2012 v3.0.3hContents :: Index