[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.HatchBrush

HatchBrush Class

Represents a rectangular brush with a hatch style, a foreground color, and a background color.

Inheritance
HatchBrush
Namespace: GrapeCity.Documents.Drawing
Assembly: DS.Documents.Imaging.dll
Syntax
public class HatchBrush : Brush
Public Class HatchBrush
    Inherits Brush

Constructors

Name Description
HatchBrush()

Initializes a new instance of the HatchBrush class using default values: black foreground, transparent background, Horizontal hatch style.

HatchBrush(HatchBrush)

Creates a copy of a HatchBrush object.

HatchBrush(HatchStyle)

Initializes a new instance of the HatchBrush class using specified hatch style, and default colors (black on transparent).

Properties

Name Description
BackColor

Gets or sets the color of spaces between the hatch lines drawn by this HatchBrush object.

ForeColor

Gets or sets the color of hatch lines drawn by this HatchBrush object.

Style

Gets or sets the hatch style of this HatchBrush object.

Visible

Gets a value indicating whether the brush is actually visible.

Methods

Name Description
SameBrush(Brush)

Returns True if the specified brush is the same as the current brush.