gbrainy.Core.Toolkit.Widget.Widget C# (CSharp) Method

Widget() protected method

protected Widget ( double width, double height ) : System
width double
height double
return System
        protected Widget(double width, double height)
        {
            if (width < 0 || width > 1)
                throw new ArgumentOutOfRangeException ("width");

            if (height < 0 || height > 1)
                throw new ArgumentOutOfRangeException ("height");

            Width = width;
            Height = height;
        }
Widget