Chapter 8. .NET Graphics Using GDI+
Topics in This Chapter
Graphics Overview: The first step in working with GDI+ is to understand how to create and use a
Graphics
object. This section looks at how this object is created and used to handle thePaint
event.Using the Graphics Object to Create Shapes: .NET offers a variety of standard geometric shapes that can be drawn in outline form or filled in. The
GraphicsPath
class serves as a container that enables geometric shapes to be connected.Using Pens and Brushes: Pens are used to draw shapes in outline form in different colors and widths; a brush is used to fill in shapes and create solid and gradient patterns.
Color: Colors may be defined according to red/green/blue (RGB) values or hue/saturation/brightness ...
Get Core C# and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.