[]
Defines a brush with a pattern.
public sealed class PatternBrush : Brush, IDisposable, ICloneable
| Name | Description |
|---|---|
| PatternBrush(byte[,]) | Initializes a new instance of the PatternBrush class. |
| PatternBrush(byte[,], Color) | Initializes a new instance of the PatternBrush class. |
| PatternBrush(byte[,], Color, Color) | Initializes a new instance of the PatternBrush class. |
| Name | Description |
|---|---|
| BackgroundColor | Gets or sets the background color of the pattern. |
| BackwardDiagonalPattern | Gets the BackwardDiagonal pattern. |
| DarkDownwardDiagonalPattern | Gets the DarkDownwardDiagonal pattern. |
| DarkHorizontalPattern | Gets the DarkHorizontal pattern. |
| DarkUpwardDiagonalPattern | Gets the DarkUpwardDiagonal pattern. |
| DarkVerticalPattern | Gets the DarkVertical pattern. |
| DashedDownwardDiagonalPattern | Gets the DashedDownwardDiagonal pattern. |
| DashedHorizontalPattern | Gets the DashedHorizontal pattern. |
| DashedUpwardDiagonalPattern | Gets the DashedUpwardDiagonal pattern. |
| DashedVerticalPattern | Gets the DashedVertical pattern. |
| DiagonalBrickPattern | Gets the DiagonalBrick pattern. |
| DiagonalCrossPattern | Gets the DiagonalCross pattern. |
| DivotPattern | Gets the Divot pattern. |
| DottedDiamondPattern | Gets the DottedDiamond pattern. |
| DottedGridPattern | Gets the DottedGrid pattern. |
| ForegroundColor | Gets or sets the foreground color of the pattern. |
| ForwordDiagonalPattern | Gets the ForwordDiagonal pattern. |
| Handle | Returns a handle to this GdiObject object. |
| HorizontalBrickPattern | Gets the HorizontalBrick pattern. |
| HorizontalPattern | Gets the Horizontal pattern. |
| LargeCheckerBoardPattern | Gets the LargeCheckerBoard pattern. |
| LargeConfettiPattern | Gets the LargeConfetti pattern. |
| LargeGridPattern | Gets the LargeGrid pattern. |
| LightDownwardDiagonalPattern | Gets the LightDownwardDiagonal pattern. |
| LightHorizontalPattern | Gets the LightHorizontal pattern. |
| LightUpwardDiagonalPattern | Gets the LightUpwardDiagonal pattern. |
| LightVerticalPattern | Gets the LightVertical pattern. |
| NarrowHorizontalPattern | Gets the NarrowHorizontal pattern. |
| NarrowVerticalPattern | Gets the NarrowVertical pattern. |
| OutlinedDiamondPattern | Gets the OutlinedDiamond pattern. |
| Pattern | Gets or sets the pattern mask. |
| Percent10Pattern | Gets the Percent10 pattern. |
| Percent20Pattern | Gets the Percent20 pattern. |
| Percent25Pattern | Gets the Percent25 pattern. |
| Percent30Pattern | Gets the Percent30 pattern. |
| Percent40Pattern | Gets the Percent40 pattern. |
| Percent50Pattern | Gets the Percent50 pattern. |
| Percent5Pattern | Gets the Percent5 pattern. |
| Percent60Pattern | Gets the Percent60 pattern. |
| Percent70Pattern | Gets the Percent70 pattern. |
| Percent75Pattern | Gets the Percent75 pattern. |
| Percent80Pattern | Gets the Percent80 pattern. |
| Percent90Pattern | Gets the Percent90 pattern. |
| PlaidPattern | Gets the Plaid pattern. |
| ShinglePattern | Gets the Shingle pattern. |
| SmallCheckerBoardPattern | Gets the SmallCheckerBoard pattern. |
| SmallConfettiPattern | Gets the SmallConfetti pattern. |
| SmallGridPattern | Gets the SmallGrid pattern. |
| SolidDiamondPattern | Gets the SolidDiamond pattern. |
| SpherePattern | Gets the Sphere pattern. |
| TrellisPattern | Gets the Trellis pattern. |
| VerticalPattern | Gets the Vertical pattern. |
| WavePattern | Gets the Wave pattern. |
| WeavePattern | Gets the Weave pattern. |
| WideDownwardDiagonalPattern | Gets the WideDownwardDiagonal pattern. |
| WideUpwardDiagonalPattern | Gets the WideUpwardDiagonal pattern. |
| ZigZagPattern | Gets the ZigZag pattern. |
| Name | Description |
|---|---|
| Clone() | Creates an exact copy if this GdiObject object. |
| Dispose(bool) | Releases the unmanaged resources used by the GdiObject and optionally releases the managed resources. |