Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
drop zero in favor of empty
Browse files Browse the repository at this point in the history
doing this to be consistent with System.Drawing.Primitives
  • Loading branch information
tocsoft committed Jun 10, 2017
1 parent 04e70a1 commit fa0b656
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 20 deletions.
5 changes: 0 additions & 5 deletions src/SixLabors.Core/Primitives/Point.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ public struct Point : IEquatable<Point>
/// </summary>
public static readonly Point Empty = default(Point);

/// <summary>
/// Represents a <see cref="Point"/> that has X and Y values set to zero.
/// </summary>
public static readonly Point Zero = new Point(0, 0);

/// <summary>
/// Initializes a new instance of the <see cref="Point"/> struct.
/// </summary>
Expand Down
5 changes: 0 additions & 5 deletions src/SixLabors.Core/Primitives/PointF.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ public struct PointF : IEquatable<PointF>
/// </summary>
public static readonly PointF Empty = default(PointF);

/// <summary>
/// Represents a <see cref="PointF"/> that has X and Y values set to zero.
/// </summary>
public static readonly PointF Zero = new PointF(0, 0);

/// <summary>
/// Initializes a new instance of the <see cref="PointF"/> struct.
/// </summary>
Expand Down
5 changes: 0 additions & 5 deletions src/SixLabors.Core/Primitives/Size.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ public struct Size : IEquatable<Size>
/// Represents a <see cref="Size"/> that has Width and Height values set to zero.
/// </summary>
public static readonly Size Empty = default(Size);
/// <summary>
/// Represents a <see cref="Size"/> that has Width and Height values set to zero.
/// </summary>
public static readonly Size Zero = new Size(0, 0);


/// <summary>
/// Initializes a new instance of the <see cref="Size"/> struct.
Expand Down
5 changes: 0 additions & 5 deletions src/SixLabors.Core/Primitives/SizeF.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ public struct SizeF : IEquatable<SizeF>
/// </summary>
public static readonly SizeF Empty = default(SizeF);

/// <summary>
/// Represents a <see cref="SizeF"/> that has Width and Height values set to zero.
/// </summary>
public static readonly SizeF Zero = new SizeF(0, 0);

/// <summary>
/// Initializes a new instance of the <see cref="SizeF"/> struct.
/// </summary>
Expand Down

0 comments on commit fa0b656

Please sign in to comment.