Hello,
it is possible to create an animation element?
I want to create an animation like a watch Casio G Shock G-2500FL
Thank you
Hello,
it is possible to create an animation element?
I want to create an animation like a watch Casio G Shock G-2500FL
Thank you
I posted a simple way to draw an arc for minutes here:
Same basic concept for seconds - figuring out the angles.
Hi, please help.
I need to modify this code so that it is possible to move the element left and right up and down..
var gW = dc.getWidth();
dc.setColor(Gfx.COLOR_WHITE, Gfx.COLOR_TRANSPARENT);
dc.setPenWidth(gW/20.0);
dc.fillCircle(gW/2, gW/2, gW/35);
for (var i = 0;i<12;i++){
var start = 360 - ( 4 + (30*i));
var end = start - 22;
dc.drawArc(gW/2,gW/2, gW/15.0, /* Graphics.ARC_CLOCKWISE */ 1, start+90, end+90);
}