Description

Properties

multiple

`(1.3.1)` If, true, enables the ability to use multiple commands on single element

Methods

fillRect

The fillRect() method draws a "filled" rectangle. The default color of the fill is black. Before the positions, you can specify the color of the rectangle

strokeRect

The strokeRect() method draws a rectangle (no fill). The default color of the stroke is black.

fillCircle

`(1.3.1)` The fillRect() method draws a "filled" circle. The default color of the fill is black.

strokeCircle

`(1.3.1)` The strokeCircle() method draws a circle (no fill). The default color of the stroke is black.

fill

See http://www.w3schools.com/html5/canvas_fill.asp

fillText

The fillText() method draws filled text on the canvas. The default color of the text is black.

strokeText

See http://www.w3schools.com/html5/canvas_stroketext.asp

stroke

See http://www.w3schools.com/html5/canvas_stroke.asp

addColorStop

See http://www.w3schools.com/html5/canvas_addcolorstop.asp

drawImage

Draws the image or part of the image

arc

See http://www.w3schools.com/html5/canvas_arc.asp

clip

See http://www.w3schools.com/html5/canvas_clip.asp

beginPath

See http://www.w3schools.com/html5/canvas_beginpath.asp

moveTo

See http://www.w3schools.com/html5/canvas_beginpath.asp

closePath

See http://www.w3schools.com/html5/canvas_closepath.asp

translate

http://www.w3schools.com/html5/canvas_translate.asp

rotate

See http://www.w3schools.com/html5/canvas_rotate.asp

rotateDeg

Degree rotation

scale

See http://www.w3schools.com/html5/canvas_scale.asp

clearRect

See http://www.w3schools.com/html5/canvas_clearrect.asp

setTransform

See http://www.w3schools.com/html5/canvas_settransform.asp

transform

See http://www.w3schools.com/html5/canvas_transform.asp

rect

See http://www.w3schools.com/html5/canvas_rect.asp

save

Saves the state of the current context

restore

Returns previously saved path state and attributes

clearPropreties

Assigned undefined to all properties HTML5 Canvas element

removeCmd

Deletes a saved command element

refresh

Refreshes the elements of the scene

Discussion