From 1a730b7c9e54504969e23a53c6975a95266eb6fd Mon Sep 17 00:00:00 2001 From: GMIKE Date: Tue, 29 Sep 2020 15:19:53 +0300 Subject: [PATCH] Update and fix comments for the documentation --- src/Avalonia.Visuals/Point.cs | 8 ++++---- src/Avalonia.Visuals/Size.cs | 4 ++-- src/Avalonia.Visuals/Thickness.cs | 4 ++-- src/Avalonia.Visuals/Vector.cs | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Avalonia.Visuals/Point.cs b/src/Avalonia.Visuals/Point.cs index 30dd01ce38..f4612ac1d0 100644 --- a/src/Avalonia.Visuals/Point.cs +++ b/src/Avalonia.Visuals/Point.cs @@ -269,10 +269,10 @@ namespace Avalonia } /// - /// Deconstructor for decomposition Point + /// Deconstructs the point into it's X and Y coordinates. /// - /// The X position. - /// The Y position. + /// The X coordinate. + /// The Y coordinate. public void Deconstruct(out double x, out double y) { x = this._x; @@ -280,7 +280,7 @@ namespace Avalonia } /// - /// Gets a value indicating that point coordinates are zero + /// Gets a value indicating whether the X and Y coordinates are zero. /// public bool IsDefault { diff --git a/src/Avalonia.Visuals/Size.cs b/src/Avalonia.Visuals/Size.cs index bff6d787ee..e80565b5c0 100644 --- a/src/Avalonia.Visuals/Size.cs +++ b/src/Avalonia.Visuals/Size.cs @@ -278,7 +278,7 @@ namespace Avalonia } /// - /// Deconstructor for decomposition Size + /// Deconstructs the size into it's Width and Height values. /// /// The width. /// The height. @@ -289,7 +289,7 @@ namespace Avalonia } /// - /// Gets a value indicating that width and height are zero + /// Gets a value indicating whether the Width and Height values are zero. /// public bool IsDefault { diff --git a/src/Avalonia.Visuals/Thickness.cs b/src/Avalonia.Visuals/Thickness.cs index 33ac001cef..898f828de0 100644 --- a/src/Avalonia.Visuals/Thickness.cs +++ b/src/Avalonia.Visuals/Thickness.cs @@ -274,7 +274,7 @@ namespace Avalonia } /// - /// Deconstructor for decomposition Thickness + /// Deconstructor the thickness into left, top, right and bottom thickness values. /// /// The thickness on the left. /// The thickness on the top. @@ -289,7 +289,7 @@ namespace Avalonia } /// - /// Gets a value indicating that thickness are zero + /// Gets a value indicating whether the left, top, right and bottom thickness values are zero. /// public bool IsDefault { diff --git a/src/Avalonia.Visuals/Vector.cs b/src/Avalonia.Visuals/Vector.cs index 67c04e4bb3..1e09588b89 100644 --- a/src/Avalonia.Visuals/Vector.cs +++ b/src/Avalonia.Visuals/Vector.cs @@ -335,10 +335,10 @@ namespace Avalonia => new Vector(0, 1); /// - /// Deconstructor for decomposition Vector + /// Deconstructs the vector into it's X and Y components. /// /// The X component. - /// The Y poscomponentition. + /// The Y component. public void Deconstruct(out double x, out double y) { x = this._x; @@ -346,7 +346,7 @@ namespace Avalonia } /// - /// Gets a value indicating that Vector components are zero + /// Gets a value indicating whether the X and Y components are zero. /// public bool IsDefault {