Esempio n. 1
0
            public override Rectangle2D createUnion(Rectangle2D r)
            {
                Rectangle2D dst;

                if (r is Double)
                {
                    dst = new Rectangle2D.Double();
                }
                else
                {
                    dst = new Rectangle2D.Float();
                }
                Rectangle2D.union(this, r, dst);
                return(dst);
            }
 public override Rectangle2D createUnion(Rectangle2D r)
 {
     Rectangle2D dst;
     if (r is Double)
     {
         dst = new Rectangle2D.Double();
     }
     else
     {
         dst = new Rectangle2D.Float();
     }
     Rectangle2D.union(this, r, dst);
     return dst;
 }