クラスjava.awt.geom.RectangularShape
の使用