@designliquido/foles
Version:
Linguagem de folhas de estilo para documentos em geral em português
20 lines • 682 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HueRotate = void 0;
const metodo_css_1 = require("./metodo-css");
class HueRotate extends metodo_css_1.MetodoCss {
constructor(valor, quantificador) {
super();
this.valor = Number(valor.lexema);
this.quantificador = quantificador ? quantificador.lexema : null;
this.traducao = "hue-rotate";
}
paraTexto() {
if (this.quantificador) {
return `rotacionar-matiz(${this.valor}${this.quantificador})`;
}
return `rotacionar-matiz(${this.valor})`;
}
}
exports.HueRotate = HueRotate;
//# sourceMappingURL=hue-rotate.js.map