2021-11-16 09:59 AM
I use in my code setAlpha , but now dont exist. Why?
class PainterRGB565 : public AbstractPainterRGB565
{
public:
/**
* Initializes a new instance of the PainterRGB565 class.
*
* @param color (Optional) the color, default is black.
*/
PainterRGB565(colortype color = 0)
: AbstractPainterRGB565(), painterColor(0)
{
setColor(color);
}
Now only setColor here.
Solved! Go to Solution.
2021-11-19 07:15 AM
I reply myself
shadowPainter.setColor(Color::getColorFrom24BitRGB(0x0, 0x0, 0x0));
//unsuported from 17 shadowPainter.setAlpha(60);
needleShadow.setPosition(0, 0, background.getWidth(), background.getHeight()+50);
needleShadow.setOrigin(4+ (background.getWidth() / 2), background.getHeight() + 70);
needleShadow.setPainter(shadowPainter);
//new set aplha to object painted
needleShadow.setAlpha(60);
2021-11-19 07:15 AM
I reply myself
shadowPainter.setColor(Color::getColorFrom24BitRGB(0x0, 0x0, 0x0));
//unsuported from 17 shadowPainter.setAlpha(60);
needleShadow.setPosition(0, 0, background.getWidth(), background.getHeight()+50);
needleShadow.setOrigin(4+ (background.getWidth() / 2), background.getHeight() + 70);
needleShadow.setPainter(shadowPainter);
//new set aplha to object painted
needleShadow.setAlpha(60);