Skip to main content
All docs
V24.1

DXHatchBrush(DXHatchStyle, Color, Color) Constructor

Initializes a new instance of the DXHatchBrush class with specified settings.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public DXHatchBrush(
    DXHatchStyle hatchStyle,
    Color foregroundColor,
    Color backgroundColor
)

Parameters

Name Type Description
hatchStyle DXHatchStyle

An enumeration value that indicates the the pattern that the hatch brush should draw.

foregroundColor Color

The brush’s foreground color.

backgroundColor Color

The brush’s background color.

See Also