Summary
Returns a copy of the `rect` expanded by the specified amounts
on each axis (or contracted if negative).
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- AnimancerGUI
Syntax
public static Rect Expand(this Rect rect, float x, float y)
Parameters
Name | Type | Description |
---|---|---|
rect | Rect | |
x | float | |
y | float |
Return Value
Type | Description |
---|---|
Rect |