static void drawEllipse(int mode, int vertexA, int vertexB)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter | Range | Description |
---|---|---|
mode | Bit 1, 3 ... 6 | flags for the ellipse properties |
vertexA | 1 ... display width | distance from center to intersection of ellipse and x-axis |
vertexB | 1 ... display height | distance from center to intersection of ellipse and y-axis |
Draws an ellipse with the selected line thickness, using the current cursor position as center. The vertices vertexA and vertexB specify the dimensions, the parameter mode allows to set several properties for the ellipse:
mode |
---|
ELLIPSE_DROP_SHADOW |
ELLIPSE_FILLED_WITH_BACKGROUND_COLOR |
ELLIPSE_USE_FOREGROUND_COLOR_FOR_FILLING (bit 3 must be set too) |
ELLIPSE_FILLED_WITH_CURRENT_FILL_PATTERN (bits 3 and 4 ignored if set) |
ELLIPSE_DRAW_WITHOUT_FRAME |
ELLIPSE_ALPHA_BLENDING_FOR_SHADOW_ONLY |
Note
Example
Draw.drawEllipse(Draw.ELLIPSE_DROP_SHADOW |
Draw.ELLIPSE_FILLED_WITH_CURRENT_FILL_PATTERN,
250, 100);
Draws a filled ellipse with the vertices 250 and 100 and a drop shadow.
See also:
Draw.drawLine(int, int)
Draw.drawRectangle(int, int, int)
Draw.drawCircle(int)
Draw.drawStyledCircle(int, int)
Attribute.setBorderColor(int)
Attribute.setBorderShadowColor(int)
Attribute.setShadowOffset(int, int)
Attribute.setLineThickness(int)
Attribute.setFillingColor(int)
Attribute.setFillingGradient(int, int, int, int)
Attribute.setFillingTile(int)
Attribute.setAlpha(int)
Copyright © demmel products gmbh. All rights reserved.