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
graphicsGraphicsThe Graphics to draw on.
boundsRectDThe RectD that represents the dimensions of the border.
colorColorThe Color of the border.
styleButtonBorderStyleOne of the ButtonBorderStyle values that specifies the style of the border.