ScriptUIPath (SUI)

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.

Object of

ScriptUIGraphics (SUI).currentPath

Return

ScriptUIGraphics (SUI).newPath()