public void setAnchor(int dx1, int dy1, int dx2, int dy2) {setDx1(Math.min(dx1, dx2));setDy1(Math.min(dy1, dy2));setDx2(Math.max(dx1, dx2));setDy2(Math.max(dy1, dy2));}

public void setAnchor ( int dx1 , int dy1 , int dx2 , int dy2 ) { setDx1 ( Math . min ( dx1 , dx2 ) ) ; setDy1 ( Math . min ( dy1 , dy2 ) ) ; setDx2 ( Math . max ( dx1 , dx2 ) ) ; setDy2 ( Math . max ( dy1 , dy2 ) ) ; }
public void SetAnchor(int dx1, int dy1, int dx2, int dy2){this.Dx1 = Math.Min(dx1, dx2);this.Dy1 = Math.Min(dy1, dy2);this.Dx2 = Math.Max(dx1, dx2);this.Dy2 = Math.Max(dy1, dy2);}
