Added support for radial gradient layer.
Throw an error when no layer could be created from the data provided.
Updated example.