Package io.webfolder.cdp.type.css
Class FontFace
java.lang.Object
io.webfolder.cdp.type.css.FontFace
Properties of a web font:
https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions and additional
information such as platformFontFamily and fontVariationAxes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe font-display.The font-family.The font-stretch.The font-style.The font-variant.Available variation settings (a.k.a.The font-weight.The resolved platform font familygetSrc()
The src.The unicode-range.void
setFontDisplay
(String fontDisplay) The font-display.void
setFontFamily
(String fontFamily) The font-family.void
setFontStretch
(String fontStretch) The font-stretch.void
setFontStyle
(String fontStyle) The font-style.void
setFontVariant
(String fontVariant) The font-variant.void
setFontVariationAxes
(List<FontVariationAxis> fontVariationAxes) Available variation settings (a.k.a.void
setFontWeight
(String fontWeight) The font-weight.void
setPlatformFontFamily
(String platformFontFamily) The resolved platform font familyvoid
The src.void
setUnicodeRange
(String unicodeRange) The unicode-range.toString()
-
Constructor Details
-
FontFace
public FontFace()
-
-
Method Details
-
getFontFamily
The font-family. -
setFontFamily
The font-family. -
getFontStyle
The font-style. -
setFontStyle
The font-style. -
getFontVariant
The font-variant. -
setFontVariant
The font-variant. -
getFontWeight
The font-weight. -
setFontWeight
The font-weight. -
getFontStretch
The font-stretch. -
setFontStretch
The font-stretch. -
getFontDisplay
The font-display. -
setFontDisplay
The font-display. -
getUnicodeRange
The unicode-range. -
setUnicodeRange
The unicode-range. -
getSrc
The src. -
setSrc
The src. -
getPlatformFontFamily
The resolved platform font family -
setPlatformFontFamily
The resolved platform font family -
getFontVariationAxes
Available variation settings (a.k.a. "axes"). -
setFontVariationAxes
Available variation settings (a.k.a. "axes"). -
toString
-