static void setAlpha(int alpha)
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter | Range | Description |
---|---|---|
alpha | 0 ... 255 | opacity value |
Sets an opacity value used for subsequent graphic drawing and filling. If set to 0, no drawing will be done, an alpha of 255 means full opacity.
Note
Example
Attribute.setAlpha(127);
All future drawing and filling will be done with half opacity.
See also:
Graphic.displayLocalGraphic(int)
Graphic.displayGraphicArea(int, int, int, int, int)
Draw.fillDisplay()
Draw.fillDisplayArea(int, int)
Draw.drawRectangle(int, int, int)
Draw.drawStyledCircle(int, int)
Copyright © demmel products gmbh. All rights reserved.