Class BezierCurve

All Implemented Interfaces:
AutoCloseable

public final class BezierCurve extends Curve implements AutoCloseable
Represents a BezierCurve.
See Also:
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Curve
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class Curve
    • getStartPoint

      @NotNull public Coordinate getStartPoint()
      Returns the start point (first control point) of the quadratic Bezier curve.
      Returns:
      the start point (first control point) of the quadratic Bezier curve.
    • getControlPoint

      @NotNull public Coordinate getControlPoint()
      Returns the control point (second control point) of the quadratic Bezier curve.
      Returns:
      the control point (second control point) of the quadratic Bezier curve.
    • getEndPoint

      @NotNull public Coordinate getEndPoint()
      Returns the end point (third control point) of the quadratic Bezier curve.
      Returns:
      the end point (third control point) of the quadratic Bezier curve.