DrawLine function

void DrawLine(
  1. num startPosX,
  2. num startPosY,
  3. num endPosX,
  4. num endPosY,
  5. ColorD color,
)

Implementation

void DrawLine(
  num startPosX,
  num startPosY,
  num endPosX,
  num endPosY,
  ColorD color,
) => _module.DrawLine(startPosX, startPosY, endPosX, endPosY, color);