- Brush is an abstract class. Brushes is a sealed class.
- ColorConverter and ColorTranslator are used to convert colour value from one format to another.
- Graphics is a sealed class.
- Pen (and related) classes are used to draw shapes and Brush (and related classes) are used to fill regions with colours.
- All classes suffixed with Converter are accessed through TypeDescriptor.
- Color, Rectangle, Point and Size are structures and not classes.
- Color names in Color structure are actually properties inside the structure.
- DrawString( ) method of the Graphics class may be used to draw a string using a specified Brush and Font objects.
- By default Pen class draws solid lines
- Usually System.Drawing.Drawing2D namespace is required for Graphics programming.
- LineCap enumeration defines possible values to set edges of a line.
- Draw methods usuallu require a Pen type object and Fill methods usually require a Brush type object.
- Brush is an abstract class. Use one the childrens instead.
Showing posts with label enumeration. Show all posts
Showing posts with label enumeration. Show all posts
Sunday, July 5, 2009
Chapter 6-Lesson 1
Subscribe to:
Posts (Atom)