Home > Backend Development > C#.Net Tutorial > Method usage of C# System.Drawing.Region class (illustration)

Method usage of C# System.Drawing.Region class (illustration)

黄舟
Release: 2017-03-13 11:02:52
Original
4373 people have browsed it

This example uses two rectangles A and B to demonstrate the functions of each method of the System.Drawing.Region class.

Draw two rectangles


Get the part of the target rectangle that does not intersect with this Region


Get the part of this Region that does not intersect with the target rectangle


##Get the intersection of the two rectangles


Get the union of two rectangles


Get the disjoint parts of the union of two rectangles


Initialize this System.Drawing.Region

object to infinite internal


Display RegionData information


The above is the detailed content of Method usage of C# System.Drawing.Region class (illustration). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template