PatternFillBrush Class
Represents a brush which fills an area with a repeated pattern.
- Inheritance:
- System.ObjectPatternFillBrush
Remarks
This brush can use predefined patterns to fill an area. Additionally, it supports custom pattern data or patterns derived from an image file if the document file provides suitable pattern information.
Properties
BackgroundColor
Gets or sets the background color of this PatternFillBrush.
Property Value
The background color of this PatternFillBrush.
ForegroundColor
Gets or sets the foreground color of this PatternFillBrush.
Property Value
The foreground color of this PatternFillBrush.
Type
Gets or sets the type of this PatternFillBrush.
Property Value
- System.Nullable<PatternFillType>
The type of this PatternFillBrush, or null if custom pattern data is used.
Inherited Properties
IsEmpty | Gets a value indicating whether the parent element is filled. (Inherited from Brush) |
Inherited Methods
SetDefault() | Sets a default fill on the parent element (element will be filled based on the default settings). (Inherited from Brush) |
SetEmpty() | Sets an empty fill on the parent element (element won't be filled). (Inherited from Brush) |
SetGradient(GradientFillType) | Sets a gradient fill on the parent element. (Inherited from Brush) |
SetPattern(PatternFillType, Color, Color) | Sets a pattern fill on the parent element. (Inherited from Brush) |
SetSolid(Color) | Sets a solid color fill on the parent element. (Inherited from Brush) |
SetSolid(Color, System.Byte) | Sets a solid color fill on the parent element. (Inherited from Brush) |
ToString() | Returns a System.String that represents this Brush instance. (Inherited from Brush) |