diff --git a/src/Avalonia.Visuals/Rect.cs b/src/Avalonia.Visuals/Rect.cs index e4f70ece8e..52c876263c 100644 --- a/src/Avalonia.Visuals/Rect.cs +++ b/src/Avalonia.Visuals/Rect.cs @@ -121,11 +121,7 @@ namespace Avalonia /// /// Gets the size of the rectangle. /// - public Size Size => new Size(_width, _height); - - public double Left => _x; - - public double Top => _y; + public Size Size => new Size(_width, _height); /// /// Gets the right position of the rectangle.