Summary
Initializes a new instance of the
RelativeRect
structure.
- Namespace
- Avalonia
- Containing Type
- RelativeRect
Syntax
public RelativeRect(Rect rect, RelativeUnit unit)
Parameters
Name | Type | Description |
---|---|---|
rect | Rect | The rectangle. |
unit | RelativeUnit | The unit of the rect. |
Return Value
Type | Description |
---|---|
void |