Adds an arc to the path which is centered at (x, y) position with radius r starting at startAngle and ending at endAngle going in the given direction by anticlockwise (defaulting to clockwise).
Adds an arc with the given control points and radius, connected to the previous point by a straight line.
Starts a new path by resetting the list of sub-paths.
Back-reference to the canvas element for which this context was created.
Sets all pixels in the rectangle defined by starting point (x, y) and size (width, height) to transparent black.
Creates a clipping path from the current sub-paths.
Tries to draw a straight line from the current point to the start.
Creates a new, blank ImageData object with the specified dimensions.
Draws the specified image.
Fills the subpaths with the current fill style.
Draws a filled rectangle at (x, y) position whose size is determined by width and height.
A CSS color, a CanvasGradient or CanvasPattern, to use as a fill.
Default value 10px sans-serif
Returns an ImageData object representing the underlying pixel data for the area of the canvas denoted by the rectangle which starts at (sx, sy) and has an sw width and sh height.
Returns a dash list array containing an even number of non-negative numbers.
Alpha value that is applied to shapes and images before they are composited onto the canvas.
With globalAlpha applied this sets how shapes and images are drawn onto the existing bitmap.
Reports whether or not the specified point is contained in the current path.
Type of endings on the end of lines.
Specifies where to start a dasharray on a line.
Defines the type of corners where two lines meet.
Connects the last point in the subpath to the x, y coordinates with a straight line.
Width of lines.
Moves the starting point of a new subpath to the (x, y) coordinates.
Restores the drawing style state to the last element on the 'state stack' saved by save().
Saves the current drawing style state using a stack so you can revert any change you make to it using restore().
Specifies the blurring effect.
Color of the shadow.
Horizontal distance the shadow will be offset.
Vertical distance the shadow will be offset.
Strokes the subpaths with the current stroke style.
Paints a rectangle which has a starting point at (x, y) and has a w width and an h height onto the canvas, using the current stroke style.
A CSS color, a CanvasGradient or CanvasPattern, to use as a line around shapes.
Possible values: start (default), end, left, right or center.
Possible values: top, hanging, middle, alphabetic (default), ideographic, bottom
Moves the origin point of the context to (x, y).