Region.IsVisible
IsVisible(float, float)
测试指定的点是否包含在此 Region 中.
public bool IsVisible(float x, float y)
| 参数 | 类型 | 描述 |
|---|---|---|
| x | 单精度 | 要测试的点的 x 坐标。 |
| y | 单精度 | 要测试的点的 y 坐标。 |
返回值
如果指定的点包含在此 Region 中则为 true;否则为 false.
另请参见
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(PointF)
测试指定的 PointF 结构是否包含在此 Region 中.
public bool IsVisible(PointF point)
| 参数 | 类型 | 描述 |
|---|---|---|
| point | PointF | 用于测试的 PointF 结构。 |
返回值
当 point 位于此 Region 中时为 true;否则为 false。
另请参见
- struct PointF
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(float, float, Graphics)
测试在使用指定的 Graphics 绘制时,指定的点是否位于此 Region 中。
public bool IsVisible(float x, float y, Graphics g)
| 参数 | 类型 | 描述 |
|---|---|---|
| x | 单精度 | 要测试的点的 x 坐标。 |
| y | 单精度 | 要测试的点的 y 坐标。 |
| g | Graphics | 表示图形上下文的 Graphics。 |
返回值
如果指定的点包含在此 Region 中则为 true;否则为 false.
另请参见
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(PointF, Graphics)
测试在使用指定的 Graphics 绘制时,指定的 PointF 结构是否位于此 Region 中。
public bool IsVisible(PointF point, Graphics g)
| 参数 | 类型 | 描述 |
|---|---|---|
| point | PointF | 用于测试的 PointF 结构。 |
| g | Graphics | 表示图形上下文的 Graphics。 |
返回值
当 point 位于此 Region 中时为 true;否则为 false。
另请参见
- struct PointF
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(float, float, float, float)
测试指定矩形的任何部分是否位于此 Region 中。
public bool IsVisible(float x, float y, float width, float height)
| 参数 | 类型 | 描述 |
|---|---|---|
| x | 单精度 | 要测试的矩形左上角的 x 坐标。 |
| y | 单精度 | 要测试的矩形左上角的 y 坐标。 |
| 宽度 | 单精度 | 要测试的矩形的宽度。 |
| 高度 | 单精度 | 要测试的矩形的高度。 |
返回值
当指定矩形的任何部分位于此 Region 对象中时为 true;否则为 false。
另请参见
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(RectangleF)
测试指定的 RectangleF 结构的任何部分是否位于此 Region 中。
public bool IsVisible(RectangleF rect)
| 参数 | 类型 | 描述 |
|---|---|---|
| rect | RectangleF | 用于测试的 RectangleF 结构。 |
返回值
当 rect 的任何部分位于此 Region 中时为 true;否则为 false。
另请参见
- struct RectangleF
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(float, float, float, float, Graphics)
测试在使用指定的 Graphics 绘制时,指定矩形的任何部分是否位于此 Region 中。
public bool IsVisible(float x, float y, float width, float height, Graphics g)
| 参数 | 类型 | 描述 |
|---|---|---|
| x | 单精度 | 要测试的矩形左上角的 x 坐标。 |
| y | 单精度 | 要测试的矩形左上角的 y 坐标。 |
| 宽度 | 单精度 | 要测试的矩形的宽度。 |
| 高度 | 单精度 | 要测试的矩形的高度。 |
| g | Graphics | 表示图形上下文的 Graphics。 |
返回值
当指定矩形的任何部分位于此 Region 中时为 true;否则为 false。
另请参见
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(RectangleF, Graphics)
测试在使用指定的 Graphics 绘制时,指定的 RectangleF 结构的任何部分是否位于此 Region 中。
public bool IsVisible(RectangleF rect, Graphics g)
| 参数 | 类型 | 描述 |
|---|---|---|
| rect | RectangleF | 用于测试的 RectangleF 结构。 |
| g | Graphics | 表示图形上下文的 Graphics。 |
返回值
当 rect 位于此 Region 中时为 true;否则为 false。
另请参见
- struct RectangleF
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(int, int, Graphics)
测试在使用指定的 Graphics 对象绘制时,指定的点是否位于此 Region 对象中。
public bool IsVisible(int x, int y, Graphics g)
| 参数 | 类型 | 描述 |
|---|---|---|
| x | Int32 | 要测试的点的 x 坐标。 |
| y | Int32 | 要测试的点的 y 坐标。 |
| g | Graphics | 表示图形上下文的 Graphics。 |
返回值
当指定的点位于此 Region 中时为 true;否则为 false。
另请参见
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(Point)
public bool IsVisible(Point point)
| 参数 | 类型 | 描述 |
|---|---|---|
| point | Point | 用于测试的 Point 结构。 |
返回值
当 point 位于此 Region 中时为 true;否则为 false。
另请参见
- struct Point
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(Point, Graphics)
测试在使用指定的 Graphics 绘制时,指定的 Point 结构是否位于此 Region 中。
public bool IsVisible(Point point, Graphics g)
| 参数 | 类型 | 描述 |
|---|---|---|
| point | Point | 用于测试的 Point 结构。 |
| g | Graphics | 表示图形上下文的 Graphics。 |
返回值
当 point 位于此 Region 中时为 true;否则为 false。
另请参见
- struct Point
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(int, int, int, int)
测试指定矩形的任何部分是否位于此 Region 中。
public bool IsVisible(int x, int y, int width, int height)
| 参数 | 类型 | 描述 |
|---|---|---|
| x | Int32 | 要测试的矩形左上角的 x 坐标。 |
| y | Int32 | 要测试的矩形左上角的 y 坐标。 |
| 宽度 | Int32 | 要测试的矩形的宽度。 |
| 高度 | Int32 | 要测试的矩形的高度。 |
返回值
当指定矩形的任何部分位于此 Region 中时为 true;否则为 false。
另请参见
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(Rectangle)
测试指定的 Rectangle 结构的任何部分是否位于此 Region 中。
public bool IsVisible(Rectangle rect)
| 参数 | 类型 | 描述 |
|---|---|---|
| rect | Rectangle | 用于测试的 Rectangle 结构。 |
返回值
当 rect 的任何部分包含在此 Region 中时,此方法返回 true;否则返回 false。
另请参见
- struct Rectangle
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(int, int, int, int, Graphics)
测试在使用指定的 Graphics 绘制时,指定矩形的任何部分是否位于此 Region 中。
public bool IsVisible(int x, int y, int width, int height, Graphics g)
| 参数 | 类型 | 描述 |
|---|---|---|
| x | Int32 | 要测试的矩形左上角的 x 坐标。 |
| y | Int32 | 要测试的矩形左上角的 y 坐标。 |
| 宽度 | Int32 | 要测试的矩形的宽度。 |
| 高度 | Int32 | 要测试的矩形的高度。 |
| g | Graphics | 表示图形上下文的 Graphics。 |
返回值
当指定矩形的任何部分位于此 Region 中时为 true;否则为 false。
另请参见
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(Rectangle, Graphics)
测试在使用指定的 Graphics 绘制时,指定的 Rectangle 结构的任何部分是否包含在此 Region 中。
public bool IsVisible(Rectangle rect, Graphics g)
| 参数 | 类型 | 描述 |
|---|---|---|
| rect | Rectangle | 用于测试的 Rectangle 结构。 |
| g | Graphics | 表示图形上下文的 Graphics。 |
返回值
当 rect 的任何部分包含在此 Region 中时为 true;否则为 false。
另请参见
- struct Rectangle
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging