drawImage
canvas is empty and clear
can draw a full image
can stretch a full image
can draw a plain image
can draw a scaled image
drawing gradients
is making a linear gradient
is making a radial gradient
Line
can be created from two points and uses them as start and end points
can be created from 4 numbers and uses them as start and end points
can only be created with either 2 or 4 arguments
is the distance between two points
draw curve
making a square
bezier curve
arc
north going polygon
transparent polygon
Point
represents a set of x and y co-ordinates in 2D space
PNG image
can be encoded to a stream
must be generated from a valid bitmap buffer
can be decoded from a stream
JPEG image
text drawing
can draw some text
can measure text
can draw horizontal aligned text
can draw verticl aligned text