Graphics.drawMenuGlyph

Overview | Methods | This Package | All Packages

Graphics.drawMenuGlyph

Draws a menu glyph for a Win32 menu in the specified rectangle.

Syntax

public final void drawMenuGlyph( Rectangle rect, int glyph )

public final void drawMenuGlyph( int x, int y, int width, int height, int glyph )

Parameters

rect

A Rectangle object that specifies the glyph coordinates.

x

The x-coordinate of the rectangle in which to draw the glyph.

y

The y-coordinate of the rectangle in which to draw the glyph.

width

The width of the glyph.

height

The height of the glyph.

glyph

A constant that identifies the menu glyph to draw. This value must be one of the enumeration constants defined in the MenuGlyph class.

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