Pen

Pen constructor (1 of 4)

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

public Pen(Color color)
Parameter Type Description
color Color A Color that determines the fill properties of this Pen.

See Also


Pen constructor (2 of 4)

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

public Pen(Brush brush, float width)
Parameter Type Description
brush Brush A Brush that determines the characteristics of this Pen.
width Single The width of the new Pen.

See Also


Pen constructor (3 of 4)

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

public Pen(Brush brush)
Parameter Type Description
brush Brush A Brush that determines the fill properties of this Pen.

See Also


Pen constructor (4 of 4)

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

public Pen(Color color, float width)
Parameter Type Description
color Color A Color structure that indicates the color of this Pen.
width Single A value indicating the width of this Pen.

See Also