Method DrawDebugTextAtCorner
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
graphicsSKCanvasThe SKCanvas on which the text will be drawn. This cannot be null.
textstringThe text to display. This cannot be null or empty.
boundsRectDThe 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.