ScriptUIPen

Description

A drawing pen that defines a color and line width used to stroke paths.

Create with?ScriptUIGraphics.newPen(). Use as a value of ?foregroundColor?properties, and pass as an argument to?drawString()?and?strokePath()?methods.

Properties

color readonly The pen color.
lineWidth readonly The pixel width of the drawing line.
theme readonly The theme name.
type readonly The pen type, solid or theme.