i have been trying to make the angle drawn as a dynamic pie for the angle instead of a hollow one, how do i filled the inside with a color ?
i read the reference but still i cant understand the logic of the polygon.
luckily i found
will study ur codes ;D
but it seems a bit harder than i thought,
but i did it !!!
what does 2 lines do ? i completely cannot follow
c=cta2-(i-1)*dc; // c = end of angle segment - (i-1)*a small segment ?
if(c<-pi)c+=2*pi; // if c less than - Math.PI then c add one until 2*PI ?