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
boundsRectSpecifies the screen-relative location and maximum size for drawing the text.
normalColorAttributeThe color to use for all text except the hotkey
hotColorAttributeThe color to use to draw the hotkey
containerBoundsRectSpecifies the screen-relative location and maximum container size.
fillRemainingboolDetermines if the bounds width will be used (default) or only the text width will be used.