DrawCircleSector method

  1. @override
void DrawCircleSector(
  1. Vector2D center,
  2. double radius,
  3. double startAngle,
  4. double endAngle,
  5. int segments,
  6. ColorD color,
)
override

Draw a piece of a circle

Implementation

@override
void DrawCircleSector(
  Vector2D center,
  double radius,
  double startAngle,
  double endAngle,
  int segments,
  ColorD color,
) => _ffi.DrawCircleSector(
  $.Vector2$.Ref1(center).asNativePointer<Vector2C>().ref,
  radius,
  startAngle,
  endAngle,
  segments,
  $.Color$.Ref1(color).asNativePointer<ColorC>().ref,
);