private void InitTargetTime(WorkTime workTime, double radius) { var rect = new Rect(TargetTimeRotation, rectangleTargetTime); rect.Update(workTime.TargetTime); rect.Visibility = false; _targetTimeArc = InitArc(targetTimePath, targetTimeStartOnCircle, targetTimeArc, workTime.StartTime, workTime.TargetTime, radius, true, _config.TargetTimeColor); }
private void InitStartTime(WorkTime workTime) { var rect = new Rect(StartTimeRotation, rectangleStartTime); rect.Update(workTime.StartTime); rect.Visibility = false; }