Can we do 2D Graphics in JavaScript ?

Language: JavaScript
Window Context Creation
Draw Rectangle
Fill Rectangle
Clear Background
Uint32 to RGBA
RGBA to Uint32
Hex to RGB Color
RGB to HSV Color
RGB to Luminance
Draw Line with Thickness
Draw Cubic Bezier Curve
Draw Connected Lines
Draw Circle Arc
Fill Circle Sector
Draw Circle Sector
Draw Ellipse Arc
Draw Ellipse Sector
Fill Ellipse Sector
Fill with Linear Gradient
Fill with Radial Gradient
Draw Rounded Rectangle
Fill Rounded Rectangle