points[++p] = y - Math.sin(angle + (teethSlope * sideCnt)) * outerRadius;
}
final Polygon dial = new Polygon(points);
dial.setCache(true);
dial.setCacheHint(CacheHint.ROTATE);
Bindings.bindBidirectional(dial.fillProperty(), dialFillProperty);
return dial;
}
/**
* Moves the indicator/hand angle based upon an x/y coordinate