Region
内容
[
隐藏
]Region class
描述由矩形和路径组成的图形形状的内部。这个类不能被继承。
public sealed class Region : IDisposable
构造函数
| 姓名 | 描述 |
|---|---|
| Region() | 初始化Region类. |
| Region(GraphicsPath) | 初始化Region具有指定的类GraphicsPath. |
| Region(Rectangle) | 初始化Region从指定的类Rectangle结构. |
| Region(RectangleF) | 初始化Region从指定的类RectangleF结构. |
| Region(RegionData) | 初始化Region来自指定数据的类。 |
方法
| 姓名 | 描述 |
|---|---|
| Clone() | 创建一个精确的副本Region. |
| Complement(GraphicsPath) | 更新这个Region包含指定的部分GraphicsPath这does 不与此相交Region. |
| Complement(Rectangle) | 更新这个Region包含指定的部分Rectangle与此不相交的结构 Region. |
| Complement(RectangleF) | 更新这个Region包含指定的部分RectangleF与此不相交的结构 Region. |
| Complement(Region) | 更新这个Region包含指定的部分Region不 与此相交Region. |
| Dispose() | 释放此使用的所有资源Region. |
| Equals(Region, Graphics) | 测试是否指定Region与此相同Region 在指定的绘图表面上。 |
| Exclude(GraphicsPath) | 更新这个Region只包含其内部不与指定的 相交的部分GraphicsPath. |
| Exclude(Rectangle) | 更新这个Region仅包含其内部不与指定的 intersect 相交的部分Rectangle结构. |
| Exclude(RectangleF) | 更新这个Region只包含其内部不与指定的 相交的部分RectangleF结构. |
| Exclude(Region) | 更新这个Region仅包含其内部不与指定的 intersect 相交的部分Region. |
| GetBounds(Graphics) | 得到一个RectangleF代表一个矩形的结构Region 在 a 的绘图表面上Graphics对象. |
| GetRegionData() | 返回一个RegionData表示描述这个的信息Region. |
| GetRegionScans(Matrix) | 返回一个数组RectangleF近似于这个的结构Region 应用指定的矩阵变换后。 |
| Intersect(GraphicsPath) | 更新这个Region到自身与指定的交点GraphicsPath. |
| Intersect(Rectangle) | 更新这个Region到自身与指定的交点Rectangle结构. |
| Intersect(RectangleF) | 更新这个Region到自身与指定 的交点RectangleF结构. |
| Intersect(Region) | 更新这个Region到自身与指定的交点Region. |
| IsEmpty(Graphics) | 测试这是否Region在指定的绘图表面上有一个空的内部。 |
| IsInfinite(Graphics) | 测试这是否Region在指定的绘图表面上有一个无限的内部。 |
| IsVisible(Point) | 测试是否指定Point结构包含在这个Region. |
| IsVisible(PointF) | 测试是否指定PointF结构包含在这个Region. |
| IsVisible(Rectangle) | 测试指定的任何部分是否Rectangle结构包含在 this 中Region. |
| IsVisible(RectangleF) | 测试指定的任何部分是否RectangleF结构包含在 thisRegion. |
| IsVisible(float, float) | 测试指定的点是否包含在这个Region. |
| IsVisible(Point, Graphics) | 测试是否指定Point结构包含在这个Region 绘制时使用指定的Graphics. |
| IsVisible(PointF, Graphics) | 测试是否指定PointF结构包含在这个Region 绘制时使用指定的Graphics. |
| IsVisible(Rectangle, Graphics) | 测试指定的任何部分是否Rectangle结构包含在 thisRegion使用指定绘制时Graphics. |
| IsVisible(RectangleF, Graphics) | 测试指定的任何部分是否RectangleF结构包含在 thisRegion使用指定绘制时Graphics. |
| IsVisible(float, float, Graphics) | 测试指定的点是否包含在这个Region绘制时使用 指定的Graphics. |
| IsVisible(int, int, Graphics) | 测试指定的点是否包含在这个Region使用 指定时绘制的对象Graphics对象. |
| IsVisible(float, float, float, float) | 测试指定矩形的任何部分是否包含在此Region. |
| IsVisible(int, int, int, int) | 测试指定矩形的任何部分是否包含在此Region. |
| IsVisible(float, float, float, float, Graphics) | 测试指定矩形的任何部分是否包含在此Region 绘制时使用指定的Graphics. |
| IsVisible(int, int, int, int, Graphics) | 测试指定矩形的任何部分是否包含在此Region当draw 使用指定的Graphics. |
| MakeEmpty() | 初始化这个Region到一个空的内部。 |
| MakeInfinite() | 初始化这个Region反对无限的内部。 |
| Transform(Matrix) | 转换这个Region由指定的Matrix. |
| Translate(float, float) | 偏移 this 的坐标Region按指定数量。 |
| Translate(int, int) | 偏移 this 的坐标Region按指定数量。 |
| Union(GraphicsPath) | 更新这个Region到自身和指定的联合GraphicsPath. |
| Union(Rectangle) | 更新这个Region到自身和指定的联合Rectangle结构. |
| Union(RectangleF) | 更新这个Region到自身和指定的联合RectangleF结构. |
| Union(Region) | 更新这个Region到自身和指定的联合Region. |
| Xor(GraphicsPath) | 更新这个Region到并集减去自身与指定的 的交集GraphicsPath. |
| Xor(Rectangle) | 更新这个Region到并集减去自身与指定的 的交集Rectangle结构. |
| Xor(RectangleF) | 更新这个Region到并集减去其自身与 指定的交集RectangleF结构. |
| Xor(Region) | 更新这个Region到并集减去自身与指定的 的交集Region. |
也可以看看
- 命名空间 System.Drawing
- 部件 Aspose.Drawing