Part III. TEXT
Part III focuses exclusively on text, and
covers a variety of text uses. Chapter 10 begins with the
dynamic creation of text fields and the styling of text elements using
TextFormat objects. Using this
approach, text styles can be precreated and applied to individual text
fields at any time. For global styling, you can use a combination of
HTML and Cascading Style Sheets (CSS). Both the HTML content and the CSS
styles can be created internally or loaded from external sources. By
using HTML and CSS, you can establish styles that apply to an entire
project, if desired. Further, CSS styles can be edited easily in one
central location, and all text to which the styles are applied will be
automatically updated.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access