예제 #1
0
        public void Explicit()
        {
            int x = 1234, y = 5678;
            var point = new RoixPointInt(x, y);
            var size  = (RoixSizeInt)point;

            size.Width.Is(x);
            size.Height.Is(y);
        }
예제 #2
0
        public void Ctor(int x, int y)
        {
            var size = new RoixPointInt(x, y);

            size.X.Is(x);
            size.Y.Is(y);

            var(x1, y1) = size;
            x1.Is(x);
            y1.Is(y);
        }