Esempio n. 1
0
 public Theme(Color colorSrc, Tuple<PathStyles, StopStyles, RadiusStyles> styles, double radiusFactor)
 {
     this.colors = new Gradient(colorSrc);
     this.painter = new Painter(styles);
     this.radiusFactor = radiusFactor;
 }
Esempio n. 2
0
 public Theme(Color[] colorSrc, Tuple<PathStyles, StopStyles, RadiusStyles> styles, double radiusFactor)
 {
     this.colors = new Gradient(colorSrc.ThrowIfEmpty());
     this.painter = new Painter(styles.ThrowIfNull());
     this.radiusFactor = radiusFactor;
 }