Graphics.drawCheckBox

Overview | Methods | This Package | All Packages

Graphics.drawCheckBox

Draws a Win32 CheckBox control in the specified rectangle.

Syntax

public final void drawCheckBox( Rectangle rect, int state )

public final void drawCheckBox( int x, int y, int width, int height, int state )

Parameters

rect

A Rectangle object that specifies the coordinates of the button to draw.

state

One or more ButtonState flags that determine how to draw the button.

x

The x-coordinate of the upper-left corner of the drawing rectangle.

y

The y-coordinate of the upper-left corner of the drawing rectangle.

width

The width of the button.

height

The height of the button.

See Also   drawButton, drawCaptionButton, drawComboButton, drawMenuGlyph, drawRadioButton, drawScrollButton, drawSizeGrip