Doing:
dc.drawArc(
_centerX,
_centerY,
_radius,
Graphics.ARC_CLOCKWISE,
0.0, // degreeStart
0.5 // degreeEnd
);
This ends up with the whole 360deg arc being drawn instead.
I'd assume that the arguments are Math.floored and that causes the issue, but I don't see any info that only integers are accepted, Numeric sounds like floats should be also good
This ends up with the whole 360deg arc being drawn instead.
I'd assume that the arguments are Math.floored and that causes the issue, but I don't see any info that only integers are accepted, Numeric sounds like floats should be also good
This limitation also prevents from drawing thin, evenly placed markings around the circle since the least narrow can only be 1deg and infact for that I'd need to draw 0.0 - 0.5deg and then 359.5 - 360.0deg for the mark to be precisely at the 3 o'clock point.
So I think the docs or the function should be adjusted here.
https://developer.garmin.com/connect-iq/api-docs/Toybox/Graphics/Dc.html#drawArc-instance_function
So I think the docs or the function should be adjusted here.
https://developer.garmin.com/connect-iq/api-docs/Toybox/Graphics/Dc.html#drawArc-instance_function