org.apache.fop.render.intermediate

## Interface BezierCurvePainter

- All Known Implementing Classes:
    PDFGraphicsPainter, PSGraphicsPainter

      public interface BezierCurvePainter

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `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 Detail

    - #### cubicBezierTo

          void cubicBezierTo(int p1x,
                             int p1y,
                             int p2x,
                             int p2y,
                             int p3x,
                             int p3y)
                      throws IOException

      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 point
        `p1y` - y coordinate of the first control point
        `p2x` - x coordinate of the second control point
        `p2y` - y coordinate of the second control point
        `p3x` - x coordinate of the end point
        `p3y` - y coordinate of the end point
      Throws:
        `IOException` - if an I/O error occurs

Copyright © 2025 Apache Software Foundation. All rights reserved.