Parameters
- g
- System.Drawing.Graphics object to render into.
- rc
- Area where the element will be displayed.
- str
- Text to render.
- img
- Image to render.
- flags
- Combination of DrawCellFlags that determines which elements will be rendered.
- colorMode
- Rendering color mode.