DrawPixel method

void DrawPixel(
  1. num posX,
  2. num posY,
  3. ColorD color
)

Draw a pixel using geometry Can be slow, use with care

Implementation

void DrawPixel(
  num posX,
  num posY,
  ColorD color,
) => run(
  () => _debugLabels.DrawPixel(posX, posY, color),
  () => _flat.DrawPixel(
    posX.toInt(),
    posY.toInt(),
    color,
  ),
);