Method DrawWindowFrame
DrawWindowFrame(Rect, int, int, int, int, bool, bool, Border)
Draws a frame for a window with padding and an optional visible border inside the padding.
public virtual void DrawWindowFrame(Rect region, int paddingLeft = 0, int paddingTop = 0, int paddingRight = 0, int paddingBottom = 0, bool border = true, bool fill = false, Border borderContent = null)
Parameters
regionRectScreen relative region where the frame will be drawn.
paddingLeftintNumber of columns to pad on the left (if 0 the border will not appear on the left).
paddingTopintNumber of rows to pad on the top (if 0 the border and title will not appear on the top).
paddingRightintNumber of columns to pad on the right (if 0 the border will not appear on the right).
paddingBottomintNumber of rows to pad on the bottom (if 0 the border will not appear on the bottom).
borderboolIf set to
trueand any padding dimension is > 0 the border will be drawn.fillboolIf set to
trueit will clear the content area (the area inside the padding) with the current color, otherwise the content area will be left untouched.borderContentBorderThe Border to be used if defined.