/// <summary> /// Draw the button /// </summary> /// <param name="renderer">renderer used to draw the button</param> /// <param name="selected">true if the button is selected</param> /// <param name="font">font for drawing text</param> /// <param name="graphics">grapics for drawing text</param> public void Draw(TabButtonRenderer renderer, bool selected, Font font, Graphics graphics) { ValidateNotDisposed(); renderer.Draw(_bounds, Text, selected, font, graphics); }
/// <summary> /// Draw the button /// </summary> /// <param name="renderer">renderer used to draw the button</param> /// <param name="selected">true if the button is selected</param> /// <param name="font">font for drawing text</param> /// <param name="graphics">grapics for drawing text</param> public void Draw(TabButtonRenderer renderer, bool selected, Font font, Graphics graphics) { ValidateNotDisposed(); renderer.Draw(_bounds, Text, selected, font, PageIcon, graphics); }