Method IsValid
IsValid(Rect)
Check if a given Rect has a valid width and height.
Declaration
public static bool IsValid(this Rect rect)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | rect | The given Rect object. |
Returns
| Type | Description |
|---|---|
| bool | True if its width and height are valid, False otherwise. |