RelativeRect(Double, Double, Double, Double, 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(
double x,
double y,
double width,
double height,
RelativeUnit unit
)
Public Sub New (
x As Double,
y As Double,
width As Double,
height As Double,
unit As RelativeUnit
)
new :
x : float *
y : float *
width : float *
height : float *
unit : RelativeUnit -> RelativeRect
Parameters
- Double
- The X position.
- Double
- The Y position.
- Double
- The width.
- Double
- The height.
- RelativeUnit
- The unit of the rect.
See Also
Reference
RelativeRect Structure
RelativeRect Overload
Avalonia Namespace