Method DrawDebugTextAtCorner
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
graphicsGraphicsThe Graphics instance used to draw the text and shapes.
textstringThe text to be displayed at the corner of the bounds.
boundsRectDThe 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.