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
region
RectScreen relative region where the frame will be drawn.
title
ustringThe title for the window. The title will only be drawn if
title
is not null or empty and paddingTop is greater than 0.paddingLeft
intNumber of columns to pad on the left (if 0 the border will not appear on the left).
paddingTop
intNumber of rows to pad on the top (if 0 the border and title will not appear on the top).
paddingRight
intNumber of columns to pad on the right (if 0 the border will not appear on the right).
paddingBottom
intNumber of rows to pad on the bottom (if 0 the border will not appear on the bottom).
textAlignment
TextAlignmentNot yet implemented.