Method Draw
Draw(IDriver?, Rectangle, ViewDiagnosticFlags, string?)
Draws the Thickness rectangle with an optional diagnostics label.
public Rectangle Draw(IDriver? driver, Rectangle rect, ViewDiagnosticFlags diagnosticFlags = ViewDiagnosticFlags.Off, string? label = null)
Parameters
driverIDriverOptional driver. If not specified, Driver will be used.
rectRectangleThe location and size of the rectangle that bounds the thickness rectangle, in screen coordinates.
diagnosticFlagsViewDiagnosticFlagslabelstringThe diagnostics label to draw on the bottom of the Bottom.
Returns
- Rectangle
The inner rectangle remaining to be drawn.
Remarks
If ViewDiagnosticFlags is set to Thickness then 'T', 'L', 'R', and 'B' glyphs will be used instead of space. If ViewDiagnosticFlags is set to Ruler then a ruler will be drawn on the outer edge of the Thickness.