January 2000
Intermediate to advanced
672 pages
21h 46m
English
The
Canvas class provides drawing methods and overall
management functions. The
graphics
functions provided (we will skip the arguments) are
drawLine, drawLines,
drawString, drawCurve (which
draws a Bezier curve), drawRect,
drawRoundRect, drawEllipse,
drawArc, drawPolygon, and
drawFigure (which can manage an arbitrary sequence
of line, arc, and curve segments). Each method accepts optional line
and fill colors and may be used to draw an outline or a filled shape.
Read now
Unlock full access