List of usage examples for java.awt.geom CubicCurve2D getCtrlX2
public abstract double getCtrlX2();
From source file:Main.java
public void paint(Graphics g) { Graphics2D g2d = (Graphics2D) g; CubicCurve2D cubcurve = new CubicCurve2D.Float(30, 400, 150, 400, 200, 500, 350, 450); g2d.draw(cubcurve);/* w w w . jav a 2s. c o m*/ System.out.println(cubcurve.getCtrlX2()); }