Intersect() public static method

public static Intersect ( RectangleF a, RectangleF b ) : RectangleF
a RectangleF
b RectangleF
return RectangleF
Ejemplo n.º 1
0
        public void Intersect(RectangleF rect)
        {
            RectangleF rectangleF = RectangleF.Intersect(rect, this);

            this.X      = rectangleF.X;
            this.Y      = rectangleF.Y;
            this.Width  = rectangleF.Width;
            this.Height = rectangleF.Height;
        }