ShapeDrawer.draw - multiple declarations
Function ShapeDrawer.draw
Draws a point to the screen Just calls the basic draw point method
void draw
(
int x,
int y
);
Function ShapeDrawer.draw
Draws a point to the screen
Function ShapeDrawer.draw
Draws a point given by a vector
Function ShapeDrawer.draw
Draws a line given by two points
Function ShapeDrawer.draw
Draws a line given by a segment
Function ShapeDrawer.draw
Draws the given rectangle
void draw
(
AxisAlignedBoundingBox!(int,2) rect
);
void draw
(
AxisAlignedBoundingBox!(int,2) rect,
Color color
);
Function ShapeDrawer.draw
Draws the given bezier curve with numPoints number of points on the curve More points is smoother but slower
void draw(uint numPoints = 100)
(
BezierCurve!(int,2) curve
);
void draw(uint numPoints = 100)
(
BezierCurve!(int,2) curve,
Color color
);
Function ShapeDrawer.draw
Draws a polygon
void draw(uint sides)
(
iPolygon!sides toDraw
);
void draw(uint sides)
(
iPolygon!sides toDraw,
Color color
);
Function ShapeDrawer.draw
Draws the ellipse bounded by the given box between the given angles in radians More points generally means a slower but more well drawn ellipse
void draw(uint numPoints = 100)
(
iRectangle bounds,
double startAngle,
double endAngle
);
void draw(uint numPoints = 100)
(
iRectangle bounds,
double startAngle,
double endAngle,
Color color
);