Method DrawBorder
DrawBorder(Graphics, RectD, Color, ButtonBorderStyle)
Draws a border with the specified style and color, on the specified canvas, and within the specified bounds.
public static void DrawBorder(Graphics graphics, RectD bounds, Color color, ButtonBorderStyle style)Parameters
- graphicsGraphics
- The Graphics to draw on. 
- boundsRectD
- The RectD that represents the dimensions of the border. 
- colorColor
- The Color of the border. 
- styleButtonBorderStyle
- One of the ButtonBorderStyle values that specifies the style of the border.