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