Documentation
Learn all about jCanvasjCanvas
Canvas
- Clear Canvas
- Rotate Canvas
- Scale Canvas
- Translate Canvas
- Pixel Manipulation
- Get Canvas Image
- Draw Manually
- Detect Pixel Ratio
Drawings
Layers
Events
Styles
Colors
Color Names
$('canvas').drawArc({
fillStyle: 'darkblue',
x: 50, y: 50,
radius: 30
});
Hex Values
$('canvas').drawArc({
fillStyle: '#009',
x: 50, y: 50,
radius: 30
});
RGB Values
$('canvas').drawArc({
fillStyle: 'rgb(0, 0, 153)',
x: 50, y: 50,
radius: 30
});
RGBA Values
$('canvas').drawArc({
fillStyle: 'rgba(0, 0, 153, 0.5)',
x: 50, y: 50,
radius: 30
});