mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-09 07:56:08 +02:00
Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14) * Breadcrumb / TOC / Move net5 to net folder (#15) * change path from net5 to net * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Add .net 5 winforms placeholder article (#16) * added some metadata and adjusted net5 placeholder * corrections * corrections * corrections * Test1 * Swapping landing page vs concept * fix links * Fix links * Fix desc
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
---
|
||||
title: "Using a Brush to Fill Shapes"
|
||||
ms.date: "03/30/2017"
|
||||
helpviewer_keywords:
|
||||
- "examples [Windows Forms], brushes"
|
||||
- "shapes [Windows Forms], filling"
|
||||
- "brushes"
|
||||
ms.assetid: bf8f7fff-5a90-41e8-9051-494449fb2844
|
||||
---
|
||||
# Using a Brush to Fill Shapes
|
||||
A GDI+ <xref:System.Drawing.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](how-to-fill-a-shape-with-a-solid-color.md)
|
||||
Describes how to use a solid-color brush to fill shapes.
|
||||
|
||||
[How to: Fill a Shape with a Hatch Pattern](how-to-fill-a-shape-with-a-hatch-pattern.md)
|
||||
Shows how to use a hatch brush to fill shapes.
|
||||
|
||||
[How to: Fill a Shape with an Image Texture](how-to-fill-a-shape-with-an-image-texture.md)
|
||||
Explains how to use a texture brush to fill shapes.
|
||||
|
||||
[How to: Tile a Shape with an Image](how-to-tile-a-shape-with-an-image.md)
|
||||
Describes how to tile an image in a shape.
|
||||
|
||||
## Reference
|
||||
<xref:System.Drawing.Brush?displayProperty=nameWithType>
|
||||
Describes this class and contains links to all of its members
|
||||
|
||||
<xref:System.Drawing.SolidBrush?displayProperty=nameWithType>
|
||||
Describes this class and contains links to all of its members
|
||||
|
||||
<xref:System.Drawing.TextureBrush?displayProperty=nameWithType>
|
||||
Describes this class and contains links to all of its members.
|
||||
|
||||
<xref:System.Drawing.Drawing2D.HatchBrush?displayProperty=nameWithType>
|
||||
Describes this class and contains links to all of its members.
|
||||
|
||||
<xref:System.Drawing.Drawing2D.PathGradientBrush?displayProperty=nameWithType>
|
||||
Describes this class and contains links to all of its members.
|
||||
|
||||
## Related Sections
|
||||
[Using a Gradient Brush to Fill Shapes](using-a-gradient-brush-to-fill-shapes.md)
|
||||
Contains a list of topics that show how to use a gradient brush.
|
||||
|
||||
[Using a Pen to Draw Lines and Shapes](using-a-pen-to-draw-lines-and-shapes.md)
|
||||
Provides a list of topics that demonstrate how to draw outlined shapes.
|
||||
|
||||
[Using Managed Graphics Classes](using-managed-graphics-classes.md)
|
||||
Contains a list of topics describing how to use managed graphics classes.
|
||||
Reference in New Issue
Block a user