Table of Contents

Method DrawDebugTextAtCorner

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

DrawDebugTextAtCorner(SKCanvas, string, RectD)

Draws a debug text label at the bottom-left corner of the specified bounds.

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

Parameters

graphics SKCanvas

The SKCanvas on which the text will be drawn. This cannot be null.

text string

The text to display. This cannot be null or empty.

bounds RectD

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

Remarks

The text is drawn with a default font and styled with a light yellow background, a dark gray border, and black foreground text. Ensure that the graphics object is valid and properly initialized before calling this method.