added toRectangle

added a method that returns this as a AWT tectangle