This documentation is archived and is not being maintained.

Pen Constructor

Initializes a new instance of the Pen class with the specified color.

Name Description
Pen (Brush) Initializes a new instance of the Pen class with the specified Brush.
Pen (Color) Initializes a new instance of the Pen class with the specified color.

Supported by the .NET Compact Framework.

Pen (Brush, Single) Initializes a new instance of the Pen class with the specified Brush and Width.
Pen (Color, Single) Initializes a new instance of the Pen class with the specified Color and Width properties.

Supported by the .NET Compact Framework.

Show: