if (s !== null) {
                s = Math.max(0.0, this.minS, Math.min(1.0, this.maxS, s));
            }