Pen.Pen

Pen(Color)

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

public Pen(Color color)
ParameterTypeDescription
colorColorA Color that determines the fill properties of this Pen.

See Also


Pen(Brush, float)

Initializes a new instance of the Pen class with the specified Brush and Width.

public Pen(Brush brush, float width)
ParameterTypeDescription
brushBrushA Brush that determines the characteristics of this Pen.
widthSingleThe width of the new Pen.

See Also


Pen(Brush)

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

public Pen(Brush brush)
ParameterTypeDescription
brushBrushA Brush that determines the fill properties of this Pen.

See Also


Pen(Color, float)

Initializes a new instance of the Pen class with the specified Color and Width properties.

public Pen(Color color, float width)
ParameterTypeDescription
colorColorA Color structure that indicates the color of this Pen.
widthSingleA value indicating the width of this Pen.

See Also