mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-07 07:56:07 +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,26 @@
|
||||
---
|
||||
title: "Using Regions"
|
||||
ms.date: "03/30/2017"
|
||||
helpviewer_keywords:
|
||||
- "examples [Windows Forms], regions"
|
||||
- "regions [Windows Forms], using"
|
||||
ms.assetid: 7809295b-870f-4107-a8b5-8386c298acd5
|
||||
---
|
||||
# Using Regions
|
||||
The GDI+ <xref:System.Drawing.Region> class allows you to define a custom shape. The shape can be made up of lines, polygons, and curves.
|
||||
|
||||
Two common uses for regions are hit testing and clipping. Hit testing is determining whether the mouse was clicked in a certain region of the screen. Clipping is restricting drawing to a certain region.
|
||||
|
||||
## In This Section
|
||||
[How to: Use Hit Testing with a Region](how-to-use-hit-testing-with-a-region.md)
|
||||
Shows how to use a <xref:System.Drawing.Region> to perform a hit test.
|
||||
|
||||
[How to: Use Clipping with a Region](how-to-use-clipping-with-a-region.md)
|
||||
Explains how to set the clipping region for a <xref:System.Drawing.Graphics> object.
|
||||
|
||||
## Reference
|
||||
<xref:System.Drawing.Region>
|
||||
Describes this class and contains links to all of its members.
|
||||
|
||||
<xref:System.Drawing.Graphics>
|
||||
Describes this class and contains links to all of its members.
|
||||
Reference in New Issue
Block a user