initial commit

This commit is contained in:
2025-10-09 14:37:45 +03:00
commit 3cc09ef5b7
21 changed files with 650 additions and 0 deletions

View File

@ -0,0 +1,18 @@
import Toybox.Graphics;
import Toybox.Lang;
import Toybox.WatchUi;
class LineMark extends IMark {
function initialize(options as IMark.MarkParams) {
IMark.initialize(options);
}
function drawMark(dc as Dc, x as Float, y as Float, length as Float) as Void {
var angle = getAngle();
dc.setColor(Color, Color);
dc.drawLine(x + length * InnerRadius * Math.cos(angle), y + length * InnerRadius * Math.sin(angle),
x + length * Radius * Math.cos(angle), y + length * Radius * Math.sin(angle));
}
}