Browse Source

Update and fix comments for the documentation

pull/4589/head
GMIKE 6 years ago
parent
commit
1a730b7c9e
  1. 8
      src/Avalonia.Visuals/Point.cs
  2. 4
      src/Avalonia.Visuals/Size.cs
  3. 4
      src/Avalonia.Visuals/Thickness.cs
  4. 6
      src/Avalonia.Visuals/Vector.cs

8
src/Avalonia.Visuals/Point.cs

@ -269,10 +269,10 @@ namespace Avalonia
}
/// <summary>
/// Deconstructor for decomposition Point
/// Deconstructs the point into it's X and Y coordinates.
/// </summary>
/// <param name="x">The X position.</param>
/// <param name="y">The Y position.</param>
/// <param name="x">The X coordinate.</param>
/// <param name="y">The Y coordinate.</param>
public void Deconstruct(out double x, out double y)
{
x = this._x;
@ -280,7 +280,7 @@ namespace Avalonia
}
/// <summary>
/// Gets a value indicating that point coordinates are zero
/// Gets a value indicating whether the X and Y coordinates are zero.
/// </summary>
public bool IsDefault
{

4
src/Avalonia.Visuals/Size.cs

@ -278,7 +278,7 @@ namespace Avalonia
}
/// <summary>
/// Deconstructor for decomposition Size
/// Deconstructs the size into it's Width and Height values.
/// </summary>
/// <param name="width">The width.</param>
/// <param name="height">The height.</param>
@ -289,7 +289,7 @@ namespace Avalonia
}
/// <summary>
/// Gets a value indicating that width and height are zero
/// Gets a value indicating whether the Width and Height values are zero.
/// </summary>
public bool IsDefault
{

4
src/Avalonia.Visuals/Thickness.cs

@ -274,7 +274,7 @@ namespace Avalonia
}
/// <summary>
/// Deconstructor for decomposition Thickness
/// Deconstructor the thickness into left, top, right and bottom thickness values.
/// </summary>
/// <param name="left">The thickness on the left.</param>
/// <param name="top">The thickness on the top.</param>
@ -289,7 +289,7 @@ namespace Avalonia
}
/// <summary>
/// Gets a value indicating that thickness are zero
/// Gets a value indicating whether the left, top, right and bottom thickness values are zero.
/// </summary>
public bool IsDefault
{

6
src/Avalonia.Visuals/Vector.cs

@ -335,10 +335,10 @@ namespace Avalonia
=> new Vector(0, 1);
/// <summary>
/// Deconstructor for decomposition Vector
/// Deconstructs the vector into it's X and Y components.
/// </summary>
/// <param name="x">The X component.</param>
/// <param name="y">The Y poscomponentition.</param>
/// <param name="y">The Y component.</param>
public void Deconstruct(out double x, out double y)
{
x = this._x;
@ -346,7 +346,7 @@ namespace Avalonia
}
/// <summary>
/// Gets a value indicating that Vector components are zero
/// Gets a value indicating whether the X and Y components are zero.
/// </summary>
public bool IsDefault
{

Loading…
Cancel
Save