DrawPixelV method

  1. @override
void DrawPixelV(
  1. Vector2 position,
  2. Color color
)
override

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

Implementation

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