|
Java™ by example!
|
|
|
How do I draw a curve with two control points?
 Use the class CubicCurve. This example draws a curve on a frame using two end points and two control points. It allows you to grab an end or control point and drag it around. In addition, the curve has been texture-painted. Main.java:
Image used:

Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|