Summary
We started this chapter by discussing the basics of colors, fonts, and text-related functionality and classes defined in the .NET Framework. In the colors section, we covered how to use the Color class and its members, including system colors. We also discussed color spaces, and how to translate colors from one to another.
In the fonts section, we discussed how to use the Font class and related classes to create various types of fonts with different sizes and colors. We also discussed how to control the font families, including system and private font collections, and use them in our application.
The text section covered some uses of fonts and strings. We discussed how to format text, including aligning, tab stops, trimming, and hinting. ...
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