Encapsulates a pen object, which is used for drawing the foreground on a graphics object. Its thickness is in device-independent pixels (DIPs), converted by the graphics it is set on.
Constructor
Pen(color : Color, thickness : Number)
Pen(name : String, thickness : Number)
Arguments
color
The color to use to draw the foreground.
name
The name of the color to use to draw the foreground.