Method Draw
Draw(Rect, Attribute, Attribute, Rect, bool)
Draws the text held by TextFormatter to Driver using the colors specified.
public void Draw(Rect bounds, Attribute normalColor, Attribute hotColor, Rect containerBounds = default, bool fillRemaining = true)
Parameters
bounds
RectSpecifies the screen-relative location and maximum size for drawing the text.
normalColor
AttributeThe color to use for all text except the hotkey
hotColor
AttributeThe color to use to draw the hotkey
containerBounds
RectSpecifies the screen-relative location and maximum container size.
fillRemaining
boolDetermines if the bounds width will be used (default) or only the text width will be used.