aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Rectangle.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-02 23:38:54 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-03 01:58:16 +0100
commit921126b99a9e1ab00befb40d8f7f0c99728af698 (patch)
treebc2693bcd33739ace6f4865d560c3705cea478d1 /src/Rectangle.cs
parent2b087282dd73152d21140ea7312a90e046c84f61 (diff)
Gradient, Bitmap and Svg Filling
Diffstat (limited to 'src/Rectangle.cs')
-rw-r--r--src/Rectangle.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Rectangle.cs b/src/Rectangle.cs
index ea410ff3..c0b98520 100644
--- a/src/Rectangle.cs
+++ b/src/Rectangle.cs
@@ -233,10 +233,7 @@ namespace Crow
}
}
- public static Rectangle Zero
- {
- get { return new Rectangle(0, 0, 0, 0); }
- }
+ public static readonly Rectangle Zero = new Rectangle(0, 0, 0, 0);
public static Rectangle Empty
{
get { return Zero; }