struct Protocol::CSS::FontVariationAxis

Overview

Information about font variation axes for variable fonts

Included Modules

Defined in:

protocol/css.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def default_value : Number::Primitive #

The default value.


[View source]
def max_value : Number::Primitive #

The maximum value (inclusive) the font supports for this tag.


[View source]
def min_value : Number::Primitive #

The minimum value (inclusive) the font supports for this tag.


[View source]
def name : String #

Human-readable variation name in the default language (normally, "en").


[View source]
def tag : String #

The font-variation-setting tag (a.k.a. "axis tag").


[View source]