Method DrawFrame | Terminal.Gui v1 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

DrawFrame(Rect, int, bool)

Draws a frame on the specified region with the specified padding around the frame.

public virtual void DrawFrame(Rect region, int padding, bool fill)

Parameters

region Rect

Screen relative region where the frame will be drawn.

padding int

Padding to add on the sides.

fill bool

If set to true it will clear the contents with the current color, otherwise the contents will be left untouched.

Remarks

This API has been superseded by DrawWindowFrame(Rect, int, int, int, int, bool, bool, Border).