Browse Source

fix rect.

pull/3944/head
Dan Walmsley 6 years ago
parent
commit
9d83dd369b
  1. 6
      src/Avalonia.Visuals/Rect.cs

6
src/Avalonia.Visuals/Rect.cs

@ -121,11 +121,7 @@ namespace Avalonia
/// <summary>
/// Gets the size of the rectangle.
/// </summary>
public Size Size => new Size(_width, _height);
public double Left => _x;
public double Top => _y;
public Size Size => new Size(_width, _height);
/// <summary>
/// Gets the right position of the rectangle.

Loading…
Cancel
Save