drawLineBezier function

void drawLineBezier(
  1. Vector2 startPos,
  2. Vector2 endPos,
  3. double thick,
  4. Color color,
)

Draw a line using cubic-bezier curves in-out.

Implementation

void drawLineBezier(
  Vector2 startPos,
  Vector2 endPos,
  double thick,
  Color color,
) {
  return library.DrawLineBezier(
    startPos.ref,
    endPos.ref,
    thick,
    color.ref,
  );
}