Method DrawWindowTitle
DrawWindowTitle(Rect, ustring, int, int, int, int, TextAlignment)
Draws the title for a Window-style view incorporating padding.
public virtual void DrawWindowTitle(Rect region, ustring title, int paddingLeft, int paddingTop, int paddingRight, int paddingBottom, TextAlignment textAlignment = TextAlignment.Left)
Parameters
regionRectScreen relative region where the frame will be drawn.
titleustringThe title for the window. The title will only be drawn if
titleis not null or empty and paddingTop is greater than 0.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).
textAlignmentTextAlignmentNot yet implemented.