Fundamentals of SVG Programming: Concepts to Source Code (Graphics Series)
|
|
|
Overview
This chapter demonstrates how to use the SVG text element in order to render text strings. In addition to specifying attributes such as the font, size, and style of a text string, you can also scale, rotate, and skew a text string. Moreover, you can specify SVG elements, functions, and attributes when rendering a text string (such as filters and color gradients) that create very complex visual effects. Interesting clip-path effects can also be created with text. For example, this chapter shows you how to render a text string that follows the path of a Bezier curve. Imagine how difficult it would be to achieve this effect in other programming languages. All code and images for this chapter can be found on the companion CD-ROM in the Chapter 8 folder.
|
|
|