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; }
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 ); }
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 ); }
public Shape getClip() { Area ret = new Area(); ret.region = nativeGraphics.Clip; return ret; }