RelativeRect(Size, RelativeUnit) Constructor
Initializes a new instance of the RelativeRect structure.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public RelativeRect(
Size size,
RelativeUnit unit
)
Public Sub New (
size As Size,
unit As RelativeUnit
)
new :
size : Size *
unit : RelativeUnit -> RelativeRect
Parameters
- Size
- The size of the rectangle.
- RelativeUnit
- The unit of the rect.
See Also
Reference
RelativeRect Structure
RelativeRect Overload
Avalonia Namespace