java awt how to create a 2d eclipse

‮/:sptth‬/www.lautturi.com
java awt how to create a 2d eclipse
import java.awt.geom.Ellipse2D;

int point_x = 50;
int point_y = 20;
int width = 40;
int height = 20;

Ellipse2D.Double circle = new Ellipse2D.Double(point_x, point_y, width, height);
Created Time:2017-09-25 01:07:07  Author:lautturi