コード例 #1
0
 public CircularTrack(SKPoint center, float radius, float thickness, SKColor color)
 {
     _drawer = new ColorCircularTrackDrawer(center, radius, thickness, color);
     AddChild(_drawer);
 }
コード例 #2
0
 public CircularTrack(SKPoint center, float radius, float thickness, int circularResolution, ColorPositions colorPositions)
 {
     _drawer = new GradientCircularTrackDrawer(center, radius, thickness, circularResolution, colorPositions);
     AddChild(_drawer);
 }