UNPKG

@cloudinary/url-gen

Version:

Cloudinary URL-Gen SDK ========================= [![Build Status](https://api.travis-ci.com/cloudinary/js-url-gen.svg?branch=master)](https://app.travis-ci.com/github/cloudinary/js-url-gen) ## About The Cloudinary URL-Gen SDK allows you to quickly and eas

46 lines (43 loc) 1.05 kB
'use strict'; /** * @description Contains functions to select the font weight. * <b>Learn more</b>: {@link https://cloudinary.com/documentation/layers#text_layer_options|Adding text overlays to images} * <b>Learn more</b>: {@link https://cloudinary.com/documentation/video_layers#text_layer_options|Adding text overlays to videos} * @memberOf Qualifiers * @namespace FontWeight * @see To be used with {@link Qualifiers.TextStyle|Text Style} */ /** * @summary qualifier * @memberOf Qualifiers.FontWeight */ function thin() { return 'thin'; } /** * @summary qualifier * @memberOf Qualifiers.FontWeight */ function light() { return 'light'; } /** * @summary qualifier * @memberOf Qualifiers.FontWeight */ function normal() { return 'normal'; } /** * @summary qualifier * @memberOf Qualifiers.FontWeight */ function bold() { return 'bold'; } const FontWeight = { bold, light, normal, thin }; exports.FontWeight = FontWeight; exports.bold = bold; exports.light = light; exports.normal = normal; exports.thin = thin;