//CONCAVE LENS public Rectangle GetBoundsRect() { Rectangle rect = new Rectangle(getLocation().x-arcX/2,getLocation().y-arcX,distance,arcY); return rect; } //CONVEX LENS public Rectangle GetBoundsRect() { Point p = getLocation(); Rectangle rect = new Rectangle(p.x-width/2,getY()-height/2,width,height); return rect; }