RelativeRect(Point, Point, 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(
Point topLeft,
Point bottomRight,
RelativeUnit unit
)
Public Sub New (
topLeft As Point,
bottomRight As Point,
unit As RelativeUnit
)
new :
topLeft : Point *
bottomRight : Point *
unit : RelativeUnit -> RelativeRect
Parameters
- Point
- The top left position of the rectangle.
- Point
- The bottom right position of the rectangle.
- RelativeUnit
- The unit of the rect.
See Also
Reference
RelativeRect Structure
RelativeRect Overload
Avalonia Namespace