public Theme(Color[] colorSrc, Tuple<PathStyles, StopStyles, RadiusStyle, ColorStyle> styles, double radiusFactor, double quantumColorPick) { this.styles = styles; this.colors = new Gradient(colorSrc.ThrowIfEmpty()); this.painter = new Painter(styles.ThrowIfNull()); this.colorPick = styles.Item4.Delegate().ThrowIfNull(); this.radiusFactor = radiusFactor; this.quantumColorPick = quantumColorPick; this.oldPercent = 0.5; }
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; }