Method DrawFrame
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
RectScreen relative region where the frame will be drawn.
padding
intPadding to add on the sides.
fill
boolIf 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).