GoogleApi.WebFonts.V1.Model.Webfont (google_api_web_fonts v0.7.0)
View SourceMetadata describing a family of fonts.
Attributes
-
axes
(type:list(GoogleApi.WebFonts.V1.Model.Axis.t)
, default:nil
) - Axis for variable fonts. -
category
(type:String.t
, default:nil
) - The category of the font. -
colorCapabilities
(type:list(String.t)
, default:nil
) - The color format(s) available for this family. -
family
(type:String.t
, default:nil
) - The name of the font. -
files
(type:map()
, default:nil
) - The font files (with all supported scripts) for each one of the available variants, as a key : value map. -
kind
(type:String.t
, default:nil
) - This kind represents a webfont object in the webfonts service. -
lastModified
(type:String.t
, default:nil
) - The date (format "yyyy-MM-dd") the font was modified for the last time. -
menu
(type:String.t
, default:nil
) - Font URL for menu subset, a subset of the font that is enough to display the font name -
subsets
(type:list(String.t)
, default:nil
) - The scripts supported by the font. -
variants
(type:list(String.t)
, default:nil
) - The available variants for the font. -
version
(type:String.t
, default:nil
) - The font version.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.WebFonts.V1.Model.Webfont{ axes: [GoogleApi.WebFonts.V1.Model.Axis.t()] | nil, category: String.t() | nil, colorCapabilities: [String.t()] | nil, family: String.t() | nil, files: map() | nil, kind: String.t() | nil, lastModified: String.t() | nil, menu: String.t() | nil, subsets: [String.t()] | nil, variants: [String.t()] | nil, version: String.t() | nil }