Inheritance: Shape
Exemple #1
0
 public Object clone()
 {
     Area ret = new Area();
     if ( region == null ) {
         ret.region = new System.Drawing.Region();
     } else {
         ret.region = (System.Drawing.Region)region.Clone();
     }
     return ret;
 }
Exemple #2
0
 public void add( Area rhs )
 {
     if ( rhs == null ) {
         return;
     }
     if ( rhs.region == null ) {
         return;
     }
     if ( region == null ) {
         region = new System.Drawing.Region();
     }
     region.Union( rhs.region );
 }
Exemple #3
0
 public void subtract( Area rhs )
 {
     if ( rhs == null ) {
         return;
     }
     if ( rhs.region == null ) {
         return;
     }
     if ( region == null ) {
         region = new System.Drawing.Region();
     }
     region.Exclude( rhs.region );
 }
Exemple #4
0
 public Shape getClip() {
     Area ret = new Area();
     ret.region = nativeGraphics.Clip;
     return ret;
 }