/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** * Naive implementation to get increment step for variable font axis that ensures * fine grained control based on range of values between min and max. * * @param {Number} min * Minumum value for range. * @param {Number} max * Maximum value for range. * @return {Number} * Step value used in range input for font axis.
*/
getAxisStep(min, max) {
let step = 1; const delta = parseInt(max, 10) - parseInt(min, 10);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.