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
regionRectScreen relative region where the frame will be drawn.
paddingintPadding to add on the sides.
fillboolIf set to
trueit 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).