Class RectExtensions
Extension methods for the Rect class.
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public static class RectExtensions
Methods
| Name | Description |
|---|---|
| IsValid(Rect) | Check if a given Rect has a valid width and height. |
| IsValidForTextureSize(Rect) | Check if a given Rect has a valid width and height to be used as Texture size. |
| IsValidForTextureSize(Vector2) | Check if a given Vector2 has a valid value to be used as Texture size. |