CS3 JS: ScriptUIPath

CS3 ScriptUI

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

ScriptUIGraphics.strokePath (pen:ScriptUIPen, path:ScriptUIPath)

ScriptUIGraphics.fillPath (brush:ScriptUIBrush, path:ScriptUIPath)

Return

ScriptUIPath ScriptUIGraphics.newPath ()

Contents :: Index