In this post, I shall be looking at applying shadows to shapes and text within a Canvas. Shadows can be applied to any shape and can be given a colour, offset from the shape they are applied to and the blur of the shadow c..
Patterns in the form of repeating images can be applied to shapes and outlines of shapes within a Canvas. In this post I shall be exploring the steps to ach..
In this post, I’m going to look at linear and radial gradients and the methods required to apply them as a fill to various different shapes within a Canvas. Gradients are very versatile; they can include multiple colour stops and be positioned withi..
I’ve been busy creating a new blog theme which is up now, but during transition of the posts to fit in with it, some bits and pieces may not look all that awesome right now, but I’ll get to fixing the..
Here I’m going to experiment with adding different styles onto shapes and lines within a Canvas – looking at colour fills, opacity of fills, outlines/borders and linejoins and linecaps for lines and..
Text can be added to a Canvas element. Text within a Canvas can’t be controlled a huge amount, but we’ll discover here what can be..
As well as drawing shapes on a Canvas, shapes can also be erased. For the examples in this post, I have initially laid down a filled background rectangle, and erased shapes out of it to de..
Following on from my post about straight line paths, now would be a good time to look into bezier curves. With these, we can create an even larger array ..