ShapeDrawer.fill - multiple declarations

Function ShapeDrawer.fill

Fills the given rectangle

void fill (
  AxisAlignedBoundingBox!(int,2) rect
);

void fill (
  AxisAlignedBoundingBox!(int,2) rect,
  Color color
);

Function ShapeDrawer.fill

Fills a polygon Uses scanlining

void fill(uint sides) (
  iPolygon!sides toDraw
);

void fill(uint sides) (
  iPolygon!sides toDraw,
  Color color
);

Function ShapeDrawer.fill

Fills the ellipse bounded by the given box between the given angles in radians Fills the ellipse between the arc endpoints: fills ellipse as arc rather than filling as ellipse (not a pizza slice) More points generally means a slower but more well drawn ellipse

void fill(uint numPoints = 100) (
  iRectangle bounds,
  double startAngle,
  double endAngle
);

void fill(uint numPoints = 100) (
  iRectangle bounds,
  double startAngle,
  double endAngle,
  Color color
);