Region.IsEmpty

Region.IsEmpty method

Tests whether this Region has an empty interior on the specified drawing surface.

public bool IsEmpty(Graphics g)
ParameterTypeDescription
gGraphicsA 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.

See Also