RelativeRect.

RelativeRect(double, double, double, double, RelativeUnit) Constructor

Summary

Initializes a new instance of the RelativeRect structure.
Namespace
Avalonia
Containing Type
RelativeRect

Syntax

public RelativeRect(double x, double y, double width, double height, RelativeUnit unit)

Parameters

Name Type Description
x double The X position.
y double The Y position.
width double The width.
height double The height.
unit RelativeUnit The unit of the rect.

Return Value

Type Description
void