Table of Contents

Method DrawBorder

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

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 Graphics

The Graphics to draw on.

bounds RectD

The RectD that represents the dimensions of the border.

color Color

The Color of the border.

style ButtonBorderStyle

One of the ButtonBorderStyle values that specifies the style of the border.