Learning the basics of canvas

Learning the basics of canvas...
Drawing Line,Rect,Arc with changing color,thick,position...and other
things.