drawLineBezierCubic function

void drawLineBezierCubic(
  1. Vector2 startPos,
  2. Vector2 endPos,
  3. Vector2 startControlPos,
  4. Vector2 endControlPos,
  5. double thick,
  6. Color color,
)

Draw line using cubic bezier curves with 2 control points.

Implementation

void drawLineBezierCubic(
  Vector2 startPos,
  Vector2 endPos,
  Vector2 startControlPos,
  Vector2 endControlPos,
  double thick,
  Color color,
) {
  return library.DrawLineBezierCubic(
    startPos.ref,
    endPos.ref,
    startControlPos.ref,
    endControlPos.ref,
    thick,
    color.ref,
  );
}