Region.IsEmpty
Region.IsEmpty method
测试此 Region 在指定绘图表面上是否具有空的内部。
public bool IsEmpty(Graphics g)
| 参数 | 类型 | 描述 |
|---|---|---|
| g | Graphics | 一个表示绘图表面的 Graphics。 |
返回值
如果在应用与 g 关联的变换后,此 Region 的内部为空,则为 true;否则为 false。
异常
| 异常 | 条件 |
|---|---|
| ArgumentNullException | g 为 null。 |
另请参见
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging