Using a Brush to Fill Shapes
.NET Framework 3.0
A GDI+ Brush object is used to fill the interior of a closed shape. GDI+ defines several fill styles: solid color, hatch pattern, image texture, and color gradient.
In This Section
- How to: Fill a Shape with a Solid Color
-
Describes how to use a solid-color brush to fill shapes.
- How to: Fill a Shape with a Hatch Pattern
-
Shows how to use a hatch brush to fill shapes.
- How to: Fill a Shape with an Image Texture
-
Explains how to use a texture brush to fill shapes.
- How to: Tile a Shape with an Image
-
Describes how to tile an image in a shape.
Reference
- System.Drawing.Brush
-
Describes this class and contains links to all of its members
- System.Drawing.SolidBrush
-
Describes this class and contains links to all of its members
- System.Drawing.TextureBrush
-
Describes this class and contains links to all of its members.
- System.Drawing.Drawing2D.HatchBrush
-
Describes this class and contains links to all of its members.
- System.Drawing.Drawing2D.PathGradientBrush
-
Describes this class and contains links to all of its members.
Related Sections
Community Additions
ADD
Show: