Region.IsEmpty
Region.IsEmpty method
Tests whether this Region has an empty interior on the specified drawing surface.
public bool IsEmpty(Graphics g)
| Parameter | Type | Description |
|---|---|---|
| g | Graphics | A Graphics that represents a drawing surface. |
Return Value
true if the interior of this Region is empty when the transformation associated with g is applied; otherwise, false.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | g is null. |
See Also
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging