[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.PatternBrush.-ctor

PatternBrush Constructor

PatternBrush(byte[,])

Initializes a new instance of the PatternBrush class.

Declaration
public PatternBrush(byte[,] pattern)
Parameters
Type Name Description
byte[,] pattern

A byte array that indicates the pattern.

PatternBrush(byte[,], Color)

Initializes a new instance of the PatternBrush class.

Declaration
public PatternBrush(byte[,] pattern, Color foregroundColor)
Parameters
Type Name Description
byte[,] pattern

A byte array that indicates the pattern.

Color foregroundColor

A Color that indicates the foreground color of the pattern.

PatternBrush(byte[,], Color, Color)

Initializes a new instance of the PatternBrush class.

Declaration
public PatternBrush(byte[,] pattern, Color foregroundColor, Color backgroundColor)
Parameters
Type Name Description
byte[,] pattern

A byte array that indicates the pattern.

Color foregroundColor

A Color that indicates the foreground color of the pattern.

Color backgroundColor

A Color that indicates the background color of the pattern.