Painting - Painting Operations
In SVG, the method of applying visual information to a shape
is called "painting."
Like other traditional design tools, SVG provides 2 types
of painting operations: fills and strokes.
Shapes and text objects can be filled (ie. apply paint to
the interior of the shape) and stroked (ie. apply paint along
the outline of the shape).
With SVG, you can paint (i.e., fill or stroke) with:
- a single color
- a gradient (linear or radial)
- a pattern (vector or image, possibly tiled)
- custom paints available via the extensibility mechanism
SVG Offers features like gradients, patterns and transparency
which allow it to compete head-on with other sophisticated
formats.
As SVG provides designers with a complete palette of possibilities,
there is little that can be rendered in other applications
that cannot be rendered in SVG.