add IsEmpty property to Color

This commit is contained in:
Michael Becker 2021-08-11 12:30:16 -04:00
parent 05915bf21c
commit e522d7042b

View File

@ -28,6 +28,7 @@ namespace MBS.Framework.Drawing
public static readonly Color Empty; public static readonly Color Empty;
private bool isNotEmpty; private bool isNotEmpty;
public bool IsEmpty { get { return !isNotEmpty; } }
private double mvarR; private double mvarR;
public double R { get { return mvarR; } set { mvarR = value; } } public double R { get { return mvarR; } set { mvarR = value; } }