Table of Contents

Method DrawDebugTextAtCorner

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

DrawDebugTextAtCorner(Graphics, string, RectD)

Draws the specified text at the bottom-left corner of the given bounds, with a highlighted background and border.

public static void DrawDebugTextAtCorner(Graphics graphics, string text, RectD bounds)

Parameters

graphics Graphics

The Graphics instance used to draw the text and shapes.

text string

The text to be displayed at the corner of the bounds.

bounds RectD

The rectangular area that defines the position for the text. The text will be drawn near the bottom-left corner of this rectangle.

Remarks

The text is drawn with a light yellow background, a dark gray border, and black foreground color. Padding is applied around the text to ensure proper spacing within the highlighted area.