DrawPixelV method

  1. @override
void DrawPixelV(
  1. Vector2D position,
  2. ColorD color
)
override

Draw a pixel using geometry (Vector version) Can be slow, use with care

Implementation

@override
void DrawPixelV(
  Vector2D position,
  ColorD color,
) => _ffi.DrawPixelV(
  $.Vector2$.Ref1(position).asNativePointer<Vector2C>().ref,
  $.Color$.Ref1(color).asNativePointer<ColorC>().ref,
);