Interface BezierCurvePainter
- All Known Implementing Classes:
PDFGraphicsPainter
,PSGraphicsPainter
public interface BezierCurvePainter
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cubicBezierTo
(int p1x, int p1y, int p2x, int p2y, int p3x, int p3y) Draw a cubic bezier from current position to (p3x, p3y) using the control points (p1x, p1y) and (p2x, p2y)
-
Method Details
-
cubicBezierTo
Draw a cubic bezier from current position to (p3x, p3y) using the control points (p1x, p1y) and (p2x, p2y)- Parameters:
p1x
- x coordinate of the first control pointp1y
- y coordinate of the first control pointp2x
- x coordinate of the second control pointp2y
- y coordinate of the second control pointp3x
- x coordinate of the end pointp3y
- y coordinate of the end point- Throws:
IOException
- if an I/O error occurs
-