Windows.Foundation.Rect.Create C# (CSharp) Method

Create() static private method

static private Create ( double x, double y, double width, double height ) : Rect
x double
y double
width double
height double
return Rect
        internal static Rect Create(double x,
                                    double y,
                                    double width,
                                    double height)
        {
            if (x == EmptyX && y == EmptyY && width == EmptyWidth && height == EmptyHeight)
            {
                return Rect.Empty;
            }
            else
            {
                return new Rect(x, y, width, height);
            }
        }