Skip to main content
A newer version of this page is available. .

BrushObject.GetPen(Single) Method

Gets a System.Drawing.Pen object that is set up in the same manner as the current object.

Namespace: DevExpress.XtraGauges.Core.Drawing

Assembly: DevExpress.XtraGauges.v18.2.Core.dll

Declaration

public Pen GetPen(
    float width
)

Parameters

Name Type Description
width Single

A Single value that identifies the pen’s width.

Returns

Type Description
Pen

A System.Drawing.Pen object that is set up in the same manner as the current object.

See Also