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
graphics
GraphicsThe Graphics to draw on.
bounds
RectDThe RectD that represents the dimensions of the border.
color
ColorThe Color of the border.
style
ButtonBorderStyleOne of the ButtonBorderStyle values that specifies the style of the border.