GoogleApi.Slides.V1.Model.WeightedFontFamily (google_api_slides v0.24.0)
View SourceRepresents a font family and weight used to style a TextRun.
Attributes
-
fontFamily
(type:String.t
, default:nil
) - The font family of the text. The font family can be any font from the Font menu in Slides or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered inArial
. -
weight
(type:integer()
, default:nil
) - The rendered weight of the text. This field can have any value that is a multiple of100
between100
and900
, inclusive. This range corresponds to the numerical values described in the CSS 2.1 Specification, section 15.6, with non-numerical values disallowed. Weights greater than or equal to700
are considered bold, and weights less than700
are not bold. The default value is400
("normal").
Summary
Functions
Unwrap a decoded JSON object into its complex fields.