Method PaintButton
- Namespace
- Alternet.Editor.Dialogs.VsControls.Painting
- Assembly
- Alternet.Editor.v10.dll
PaintButton(ControlState, Image, string, Graphics, Rectangle)
Paints button with specified parameters.
public void PaintButton(ControlState controlState, Image image, string text, Graphics g, Rectangle bounds)
Parameters
controlStateControlStateThe state of the button.
imageImageThe image associated with the button.
textstringThe text associated with the button.
gGraphicsThe Graphics object to draw on.
boundsRectangleThe drawing area.
PaintButton(ControlState, Image, string, Graphics, RectD)
public void PaintButton(ControlState controlState, Image image, string text, Graphics g, RectD bounds)
Parameters
controlStateControlStateimageImagetextstringgGraphicsboundsRectD