WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Feb 22, 2020. It is now read-only.

Commit fa0b656

Browse files
committed
drop zero in favor of empty
doing this to be consistent with System.Drawing.Primitives
1 parent 04e70a1 commit fa0b656

File tree

4 files changed

+0
-20
lines changed

4 files changed

+0
-20
lines changed

src/SixLabors.Core/Primitives/Point.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ public struct Point : IEquatable<Point>
2525
/// </summary>
2626
public static readonly Point Empty = default(Point);
2727

28-
/// <summary>
29-
/// Represents a <see cref="Point"/> that has X and Y values set to zero.
30-
/// </summary>
31-
public static readonly Point Zero = new Point(0, 0);
32-
3328
/// <summary>
3429
/// Initializes a new instance of the <see cref="Point"/> struct.
3530
/// </summary>

src/SixLabors.Core/Primitives/PointF.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ public struct PointF : IEquatable<PointF>
2525
/// </summary>
2626
public static readonly PointF Empty = default(PointF);
2727

28-
/// <summary>
29-
/// Represents a <see cref="PointF"/> that has X and Y values set to zero.
30-
/// </summary>
31-
public static readonly PointF Zero = new PointF(0, 0);
32-
3328
/// <summary>
3429
/// Initializes a new instance of the <see cref="PointF"/> struct.
3530
/// </summary>

src/SixLabors.Core/Primitives/Size.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ public struct Size : IEquatable<Size>
2323
/// Represents a <see cref="Size"/> that has Width and Height values set to zero.
2424
/// </summary>
2525
public static readonly Size Empty = default(Size);
26-
/// <summary>
27-
/// Represents a <see cref="Size"/> that has Width and Height values set to zero.
28-
/// </summary>
29-
public static readonly Size Zero = new Size(0, 0);
30-
3126

3227
/// <summary>
3328
/// Initializes a new instance of the <see cref="Size"/> struct.

src/SixLabors.Core/Primitives/SizeF.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ public struct SizeF : IEquatable<SizeF>
2424
/// </summary>
2525
public static readonly SizeF Empty = default(SizeF);
2626

27-
/// <summary>
28-
/// Represents a <see cref="SizeF"/> that has Width and Height values set to zero.
29-
/// </summary>
30-
public static readonly SizeF Zero = new SizeF(0, 0);
31-
3227
/// <summary>
3328
/// Initializes a new instance of the <see cref="SizeF"/> struct.
3429
/// </summary>

0 commit comments

Comments
 (0)