Class Brushes
- Namespace
- SixLabors.ImageSharp.Drawing.Processing
- Assembly
- SixLabors.ImageSharp.Drawing.dll
A collection of methods for creating generic brushes.
public static class Brushes
- Inheritance
-
Brushes
- Inherited Members
Methods
BackwardDiagonal(Color)
Creates a brush that paints diagonal line hatching from upper right to lower left using the foreground color on a transparent background.
public static PatternBrush BackwardDiagonal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
BackwardDiagonal(Color, Color)
Creates a brush that paints diagonal line hatching from upper right to lower left using the specified foreground and background colors.
public static PatternBrush BackwardDiagonal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Cross(Color)
Creates a brush that paints intersecting horizontal and vertical line hatching using the foreground color on a transparent background.
public static PatternBrush Cross(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Cross(Color, Color)
Creates a brush that paints intersecting horizontal and vertical line hatching using the specified foreground and background colors.
public static PatternBrush Cross(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
DarkDownwardDiagonal(Color)
Creates a brush that paints thicker downward diagonal lines spaced more closely than ForwardDiagonal using the foreground color on a transparent background.
public static PatternBrush DarkDownwardDiagonal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
DarkDownwardDiagonal(Color, Color)
Creates a brush that paints thicker downward diagonal lines spaced more closely than ForwardDiagonal using the specified foreground and background colors.
public static PatternBrush DarkDownwardDiagonal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
DarkHorizontal(Color)
Creates a brush that paints thicker horizontal lines spaced more closely than Horizontal using the foreground color on a transparent background.
public static PatternBrush DarkHorizontal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
DarkHorizontal(Color, Color)
Creates a brush that paints thicker horizontal lines spaced more closely than Horizontal using the specified foreground and background colors.
public static PatternBrush DarkHorizontal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
DarkUpwardDiagonal(Color)
Creates a brush that paints thicker upward diagonal lines spaced more closely than BackwardDiagonal using the foreground color on a transparent background.
public static PatternBrush DarkUpwardDiagonal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
DarkUpwardDiagonal(Color, Color)
Creates a brush that paints thicker upward diagonal lines spaced more closely than BackwardDiagonal using the specified foreground and background colors.
public static PatternBrush DarkUpwardDiagonal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
DarkVertical(Color)
Creates a brush that paints thicker vertical lines spaced more closely than Vertical using the foreground color on a transparent background.
public static PatternBrush DarkVertical(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
DarkVertical(Color, Color)
Creates a brush that paints thicker vertical lines spaced more closely than Vertical using the specified foreground and background colors.
public static PatternBrush DarkVertical(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
DashedDownwardDiagonal(Color)
Creates a brush that paints dashed diagonal lines from upper left to lower right using the foreground color on a transparent background.
public static PatternBrush DashedDownwardDiagonal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
DashedDownwardDiagonal(Color, Color)
Creates a brush that paints dashed diagonal lines from upper left to lower right using the specified foreground and background colors.
public static PatternBrush DashedDownwardDiagonal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
DashedHorizontal(Color)
Creates a brush that paints dashed horizontal lines using the foreground color on a transparent background.
public static PatternBrush DashedHorizontal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
DashedHorizontal(Color, Color)
Creates a brush that paints dashed horizontal lines using the specified foreground and background colors.
public static PatternBrush DashedHorizontal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
DashedUpwardDiagonal(Color)
Creates a brush that paints dashed diagonal lines from upper right to lower left using the foreground color on a transparent background.
public static PatternBrush DashedUpwardDiagonal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
DashedUpwardDiagonal(Color, Color)
Creates a brush that paints dashed diagonal lines from upper right to lower left using the specified foreground and background colors.
public static PatternBrush DashedUpwardDiagonal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
DashedVertical(Color)
Creates a brush that paints dashed vertical lines using the foreground color on a transparent background.
public static PatternBrush DashedVertical(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
DashedVertical(Color, Color)
Creates a brush that paints dashed vertical lines using the specified foreground and background colors.
public static PatternBrush DashedVertical(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
DiagonalBrick(Color)
Creates a brush that paints staggered brick shapes running diagonally upward using the foreground color on a transparent background.
public static PatternBrush DiagonalBrick(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
DiagonalBrick(Color, Color)
Creates a brush that paints staggered brick shapes running diagonally upward using the specified foreground and background colors.
public static PatternBrush DiagonalBrick(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
DiagonalCross(Color)
Creates a brush that paints intersecting forward and backward diagonal line hatching using the foreground color on a transparent background.
public static PatternBrush DiagonalCross(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
DiagonalCross(Color, Color)
Creates a brush that paints intersecting forward and backward diagonal line hatching using the specified foreground and background colors.
public static PatternBrush DiagonalCross(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Divot(Color)
Creates a brush that paints a divot-style hatch using the foreground color on a transparent background.
public static PatternBrush Divot(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Divot(Color, Color)
Creates a brush that paints a divot-style hatch using the specified foreground and background colors.
public static PatternBrush Divot(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
DottedDiamond(Color)
Creates a brush that paints intersecting forward and backward diagonal dotted lines using the foreground color on a transparent background.
public static PatternBrush DottedDiamond(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
DottedDiamond(Color, Color)
Creates a brush that paints intersecting forward and backward diagonal dotted lines using the specified foreground and background colors.
public static PatternBrush DottedDiamond(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
DottedGrid(Color)
Creates a brush that paints intersecting horizontal and vertical dotted lines using the foreground color on a transparent background.
public static PatternBrush DottedGrid(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
DottedGrid(Color, Color)
Creates a brush that paints intersecting horizontal and vertical dotted lines using the specified foreground and background colors.
public static PatternBrush DottedGrid(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
ForwardDiagonal(Color)
Creates a brush that paints diagonal line hatching from upper left to lower right using the foreground color on a transparent background.
public static PatternBrush ForwardDiagonal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
ForwardDiagonal(Color, Color)
Creates a brush that paints diagonal line hatching from upper left to lower right using the specified foreground and background colors.
public static PatternBrush ForwardDiagonal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Horizontal(Color)
Creates a brush that paints horizontal line hatching using the foreground color on a transparent background.
public static PatternBrush Horizontal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Horizontal(Color, Color)
Creates a brush that paints horizontal line hatching using the specified foreground and background colors.
public static PatternBrush Horizontal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
HorizontalBrick(Color)
Creates a brush that paints staggered brick shapes arranged horizontally using the foreground color on a transparent background.
public static PatternBrush HorizontalBrick(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
HorizontalBrick(Color, Color)
Creates a brush that paints staggered brick shapes arranged horizontally using the specified foreground and background colors.
public static PatternBrush HorizontalBrick(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
LargeCheckerBoard(Color)
Creates a brush that paints a checkerboard hatch with larger squares than SmallCheckerBoard using the foreground color on a transparent background.
public static PatternBrush LargeCheckerBoard(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
LargeCheckerBoard(Color, Color)
Creates a brush that paints a checkerboard hatch with larger squares than SmallCheckerBoard using the specified foreground and background colors.
public static PatternBrush LargeCheckerBoard(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
LargeConfetti(Color)
Creates a brush that paints a confetti-style hatch with larger pieces than SmallConfetti using the foreground color on a transparent background.
public static PatternBrush LargeConfetti(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
LargeConfetti(Color, Color)
Creates a brush that paints a confetti-style hatch with larger pieces than SmallConfetti using the specified foreground and background colors.
public static PatternBrush LargeConfetti(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
LightDownwardDiagonal(Color)
Creates a brush that paints downward diagonal lines spaced more closely than ForwardDiagonal using the foreground color on a transparent background.
public static PatternBrush LightDownwardDiagonal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
LightDownwardDiagonal(Color, Color)
Creates a brush that paints downward diagonal lines spaced more closely than ForwardDiagonal using the specified foreground and background colors.
public static PatternBrush LightDownwardDiagonal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
LightHorizontal(Color)
Creates a brush that paints horizontal lines spaced more closely than Horizontal using the foreground color on a transparent background.
public static PatternBrush LightHorizontal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
LightHorizontal(Color, Color)
Creates a brush that paints horizontal lines spaced more closely than Horizontal using the specified foreground and background colors.
public static PatternBrush LightHorizontal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
LightUpwardDiagonal(Color)
Creates a brush that paints upward diagonal lines spaced more closely than BackwardDiagonal using the foreground color on a transparent background.
public static PatternBrush LightUpwardDiagonal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
LightUpwardDiagonal(Color, Color)
Creates a brush that paints upward diagonal lines spaced more closely than BackwardDiagonal using the specified foreground and background colors.
public static PatternBrush LightUpwardDiagonal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
LightVertical(Color)
Creates a brush that paints vertical lines spaced more closely than Vertical using the foreground color on a transparent background.
public static PatternBrush LightVertical(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
LightVertical(Color, Color)
Creates a brush that paints vertical lines spaced more closely than Vertical using the specified foreground and background colors.
public static PatternBrush LightVertical(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Min(Color)
Creates a brush that paints horizontal line hatching for the minimum hatch style using the foreground color on a transparent background.
public static PatternBrush Min(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Min(Color, Color)
Creates a brush that paints horizontal line hatching for the minimum hatch style using the specified foreground and background colors.
public static PatternBrush Min(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
NarrowHorizontal(Color)
Creates a brush that paints narrow horizontal lines spaced more closely than LightHorizontal using the foreground color on a transparent background.
public static PatternBrush NarrowHorizontal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
NarrowHorizontal(Color, Color)
Creates a brush that paints narrow horizontal lines spaced more closely than LightHorizontal using the specified foreground and background colors.
public static PatternBrush NarrowHorizontal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
NarrowVertical(Color)
Creates a brush that paints narrow vertical lines spaced more closely than LightVertical using the foreground color on a transparent background.
public static PatternBrush NarrowVertical(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
NarrowVertical(Color, Color)
Creates a brush that paints narrow vertical lines spaced more closely than LightVertical using the specified foreground and background colors.
public static PatternBrush NarrowVertical(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
OutlinedDiamond(Color)
Creates a brush that paints outlined diamond shapes formed by crossing diagonal lines using the foreground color on a transparent background.
public static PatternBrush OutlinedDiamond(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
OutlinedDiamond(Color, Color)
Creates a brush that paints outlined diamond shapes formed by crossing diagonal lines using the specified foreground and background colors.
public static PatternBrush OutlinedDiamond(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Percent05(Color)
Creates a brush that paints a 5-percent hatch using the foreground color on a transparent background; the foreground-to-background color ratio is 5:95.
public static PatternBrush Percent05(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Percent05(Color, Color)
Creates a brush that paints a 5-percent hatch using the specified foreground and background colors; the foreground-to-background color ratio is 5:95.
public static PatternBrush Percent05(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Percent10(Color)
Creates a brush that paints a 10-percent hatch using the foreground color on a transparent background; the foreground-to-background color ratio is 10:90.
public static PatternBrush Percent10(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Percent10(Color, Color)
Creates a brush that paints a 10-percent hatch using the specified foreground and background colors; the foreground-to-background color ratio is 10:90.
public static PatternBrush Percent10(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Percent20(Color)
Creates a brush that paints a 20-percent hatch using the foreground color on a transparent background; the foreground-to-background color ratio is 20:80.
public static PatternBrush Percent20(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Percent20(Color, Color)
Creates a brush that paints a 20-percent hatch using the specified foreground and background colors; the foreground-to-background color ratio is 20:80.
public static PatternBrush Percent20(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Percent25(Color)
Creates a brush that paints a 25-percent hatch using the foreground color on a transparent background; the foreground-to-background color ratio is 25:75.
public static PatternBrush Percent25(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Percent25(Color, Color)
Creates a brush that paints a 25-percent hatch using the specified foreground and background colors; the foreground-to-background color ratio is 25:75.
public static PatternBrush Percent25(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Percent30(Color)
Creates a brush that paints a 30-percent hatch using the foreground color on a transparent background; the foreground-to-background color ratio is 30:70.
public static PatternBrush Percent30(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Percent30(Color, Color)
Creates a brush that paints a 30-percent hatch using the specified foreground and background colors; the foreground-to-background color ratio is 30:70.
public static PatternBrush Percent30(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Percent40(Color)
Creates a brush that paints a 40-percent hatch using the foreground color on a transparent background; the foreground-to-background color ratio is 40:60.
public static PatternBrush Percent40(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Percent40(Color, Color)
Creates a brush that paints a 40-percent hatch using the specified foreground and background colors; the foreground-to-background color ratio is 40:60.
public static PatternBrush Percent40(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Percent50(Color)
Creates a brush that paints a 50-percent hatch using the foreground color on a transparent background; the foreground-to-background color ratio is 50:50.
public static PatternBrush Percent50(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Percent50(Color, Color)
Creates a brush that paints a 50-percent hatch using the specified foreground and background colors; the foreground-to-background color ratio is 50:50.
public static PatternBrush Percent50(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Percent60(Color)
Creates a brush that paints a 60-percent hatch using the foreground color on a transparent background; the foreground-to-background color ratio is 60:40.
public static PatternBrush Percent60(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Percent60(Color, Color)
Creates a brush that paints a 60-percent hatch using the specified foreground and background colors; the foreground-to-background color ratio is 60:40.
public static PatternBrush Percent60(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Percent70(Color)
Creates a brush that paints a 70-percent hatch using the foreground color on a transparent background; the foreground-to-background color ratio is 70:30.
public static PatternBrush Percent70(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Percent70(Color, Color)
Creates a brush that paints a 70-percent hatch using the specified foreground and background colors; the foreground-to-background color ratio is 70:30.
public static PatternBrush Percent70(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Percent75(Color)
Creates a brush that paints a 75-percent hatch using the foreground color on a transparent background; the foreground-to-background color ratio is 75:25.
public static PatternBrush Percent75(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Percent75(Color, Color)
Creates a brush that paints a 75-percent hatch using the specified foreground and background colors; the foreground-to-background color ratio is 75:25.
public static PatternBrush Percent75(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Percent80(Color)
Creates a brush that paints an 80-percent hatch using the foreground color on a transparent background; the foreground-to-background color ratio is 80:20.
public static PatternBrush Percent80(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Percent80(Color, Color)
Creates a brush that paints an 80-percent hatch using the specified foreground and background colors; the foreground-to-background color ratio is 80:20.
public static PatternBrush Percent80(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Percent90(Color)
Creates a brush that paints a 90-percent hatch using the foreground color on a transparent background; the foreground-to-background color ratio is 90:10.
public static PatternBrush Percent90(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Percent90(Color, Color)
Creates a brush that paints a 90-percent hatch using the specified foreground and background colors; the foreground-to-background color ratio is 90:10.
public static PatternBrush Percent90(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Plaid(Color)
Creates a brush that paints a plaid-material hatch using the foreground color on a transparent background.
public static PatternBrush Plaid(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Plaid(Color, Color)
Creates a brush that paints a plaid-material hatch using the specified foreground and background colors.
public static PatternBrush Plaid(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Shingle(Color)
Creates a brush that paints layered shingle shapes running diagonally downward using the foreground color on a transparent background.
public static PatternBrush Shingle(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Shingle(Color, Color)
Creates a brush that paints layered shingle shapes running diagonally downward using the specified foreground and background colors.
public static PatternBrush Shingle(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
SmallCheckerBoard(Color)
Creates a brush that paints a small checkerboard hatch using the foreground color on a transparent background.
public static PatternBrush SmallCheckerBoard(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
SmallCheckerBoard(Color, Color)
Creates a brush that paints a small checkerboard hatch using the specified foreground and background colors.
public static PatternBrush SmallCheckerBoard(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
SmallConfetti(Color)
Creates a brush that paints a small confetti-style hatch using the foreground color on a transparent background.
public static PatternBrush SmallConfetti(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
SmallConfetti(Color, Color)
Creates a brush that paints a small confetti-style hatch using the specified foreground and background colors.
public static PatternBrush SmallConfetti(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
SmallGrid(Color)
Creates a brush that paints intersecting horizontal and vertical lines spaced more closely than Cross using the foreground color on a transparent background.
public static PatternBrush SmallGrid(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
SmallGrid(Color, Color)
Creates a brush that paints intersecting horizontal and vertical lines spaced more closely than Cross using the specified foreground and background colors.
public static PatternBrush SmallGrid(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Solid(Color)
Creates a brush that paints a solid color.
public static SolidBrush Solid(Color color)
Parameters
colorColorThe brush color.
Returns
- SolidBrush
A new SolidBrush.
SolidDiamond(Color)
Creates a brush that paints a filled diamond checkerboard hatch using the foreground color on a transparent background.
public static PatternBrush SolidDiamond(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
SolidDiamond(Color, Color)
Creates a brush that paints a filled diamond checkerboard hatch using the specified foreground and background colors.
public static PatternBrush SolidDiamond(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Sphere(Color)
Creates a brush that paints adjacent sphere-like shapes using the foreground color on a transparent background.
public static PatternBrush Sphere(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Sphere(Color, Color)
Creates a brush that paints adjacent sphere-like shapes using the specified foreground and background colors.
public static PatternBrush Sphere(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Trellis(Color)
Creates a brush that paints a trellis-style hatch using the foreground color on a transparent background.
public static PatternBrush Trellis(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Trellis(Color, Color)
Creates a brush that paints a trellis-style hatch using the specified foreground and background colors.
public static PatternBrush Trellis(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Vertical(Color)
Creates a brush that paints vertical line hatching using the foreground color on a transparent background.
public static PatternBrush Vertical(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Vertical(Color, Color)
Creates a brush that paints vertical line hatching using the specified foreground and background colors.
public static PatternBrush Vertical(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Wave(Color)
Creates a brush that paints horizontal lines formed from wave shapes using the foreground color on a transparent background.
public static PatternBrush Wave(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Wave(Color, Color)
Creates a brush that paints horizontal lines formed from wave shapes using the specified foreground and background colors.
public static PatternBrush Wave(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
Weave(Color)
Creates a brush that paints a woven-material hatch using the foreground color on a transparent background.
public static PatternBrush Weave(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
Weave(Color, Color)
Creates a brush that paints a woven-material hatch using the specified foreground and background colors.
public static PatternBrush Weave(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
WideDownwardDiagonal(Color)
Creates a brush that paints wide downward diagonal lines with ForwardDiagonal spacing using the foreground color on a transparent background.
public static PatternBrush WideDownwardDiagonal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
WideDownwardDiagonal(Color, Color)
Creates a brush that paints wide downward diagonal lines with ForwardDiagonal spacing using the specified foreground and background colors.
public static PatternBrush WideDownwardDiagonal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
WideUpwardDiagonal(Color)
Creates a brush that paints wide upward diagonal lines with BackwardDiagonal spacing using the foreground color on a transparent background.
public static PatternBrush WideUpwardDiagonal(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
WideUpwardDiagonal(Color, Color)
Creates a brush that paints wide upward diagonal lines with BackwardDiagonal spacing using the specified foreground and background colors.
public static PatternBrush WideUpwardDiagonal(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.
ZigZag(Color)
Creates a brush that paints horizontal lines formed from zigzags using the foreground color on a transparent background.
public static PatternBrush ZigZag(Color foreColor)
Parameters
foreColorColorThe foreground color.
Returns
- PatternBrush
A new PatternBrush.
ZigZag(Color, Color)
Creates a brush that paints horizontal lines formed from zigzags using the specified foreground and background colors.
public static PatternBrush ZigZag(Color foreColor, Color backColor)
Parameters
Returns
- PatternBrush
A new PatternBrush.