[]
Provides helper methods for working with graphics objects.
public class DrawUtil
Name | Description |
---|---|
DrawUtil() |
Name | Description |
---|---|
CreateBorderPath(Corners, bool, Rectangle, Thickness) | Creates a GraphicsPath that covers only the borders (hollow, used to renders the borders). |
CreatePath(Corners, bool, Rectangle) | Creates a GraphicsPath for a rectangle with rounded edges. |
CreateRoundedRect(Rectangle, Corners) | Creates a GraphicsPath for a rectangle with rounded edges. |
DrawHighlightSelector(Rectangle, Graphics, Brush, bool, bool) | Draws the highlight selector for the specified borders. |
DrawParentBackground(Control, Graphics) | Draws the background of the control using the container background color. |