Package ilcd
Class Draw

Public Method drawStyledCircle

static void drawStyledCircle(int mode, int radius)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Parameter Range Description
mode Bit 1, 3 ... 6 flags for the circle properties
radius 1 ... max[width, height] radius of the circle

Draws a circle using the currently selected line thickness with the radius radius and the current cursor position as center. The parameter mode allows to set several properties for the circle:

mode
CIRCLE_DROP_SHADOW
CIRCLE_FILLED_WITH_BACKGROUND_COLOR

CIRCLE_USE_FOREGROUND_COLOR_FOR_FILLING (bit 3 must be set too)

CIRCLE_FILLED_WITH_CURRENT_FILL_PATTERN (bits 3 and 4 ignored if set)
CIRCLE_DRAW_WITHOUT_FRAME
CIRCLE_ALPHA_BLENDING_FOR_SHADOW_ONLY

Note

Example

Draw.drawStyledCircle(Draw.CIRCLE_DRAW_WITHOUT_OUTLINE |
                      Draw.CIRCLE_DROP_SHADOW,
                      125);

Draws a filled circle without an outline with a radius of 125 pixels and a drop shadow.

See also:

Draw.drawLine(int, int)
Draw.drawCircle(int)
Draw.drawRectangle(int, int, int)
Draw.drawEllipse(int, int, int)
Attribute.setBorderColor(int)
Attribute.setBorderShadowColor(int)
Attribute.setLineThickness(int)
Attribute.setFillingColor(int)
Attribute.setFillingGradient(int, int, int, int)
Attribute.setFillingTile(int)
Attribute.setAlpha(int)