Shape line = new Line2D.Float(x1, y1, x2, y2);
    Shape arc = new Arc2D.Float(x, y, w, h, start, extent, type);
    Shape oval = new Ellipse2D.Float(x, y, w, h);
    Shape rectangle = new Rectangle2D.Float(x, y, w, h);
    Shape roundRectangle = new RoundRectangle2D.Float(x, y, w, h, arcWidth, arcHeight);

 

Related Examples

相关文章:

  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2021-08-01
  • 2022-01-30
  • 2022-12-23
猜你喜欢
  • 2022-01-01
  • 2021-09-30
  • 2021-05-04
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2021-12-01
相关资源
相似解决方案