Class FontFace

java.lang.Object
io.webfolder.cdp.type.css.FontFace

public class FontFace
extends java.lang.Object
Properties of a web font: https://www w3 org/TR/2008/REC-CSS2-20080411/fonts html#font-descriptions
  • Constructor Summary

    Constructors 
    Constructor Description
    FontFace()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getFontFamily()
    The font-family.
    java.lang.String getFontStretch()
    The font-stretch.
    java.lang.String getFontStyle()
    The font-style.
    java.lang.String getFontVariant()
    The font-variant.
    java.lang.String getFontWeight()
    The font-weight.
    java.lang.String getPlatformFontFamily()
    The resolved platform font family
    java.lang.String getSrc()
    The src.
    java.lang.String getUnicodeRange()
    The unicode-range.
    void setFontFamily​(java.lang.String fontFamily)
    The font-family.
    void setFontStretch​(java.lang.String fontStretch)
    The font-stretch.
    void setFontStyle​(java.lang.String fontStyle)
    The font-style.
    void setFontVariant​(java.lang.String fontVariant)
    The font-variant.
    void setFontWeight​(java.lang.String fontWeight)
    The font-weight.
    void setPlatformFontFamily​(java.lang.String platformFontFamily)
    The resolved platform font family
    void setSrc​(java.lang.String src)
    The src.
    void setUnicodeRange​(java.lang.String unicodeRange)
    The unicode-range.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getFontFamily

      public java.lang.String getFontFamily()
      The font-family.
    • setFontFamily

      public void setFontFamily​(java.lang.String fontFamily)
      The font-family.
    • getFontStyle

      public java.lang.String getFontStyle()
      The font-style.
    • setFontStyle

      public void setFontStyle​(java.lang.String fontStyle)
      The font-style.
    • getFontVariant

      public java.lang.String getFontVariant()
      The font-variant.
    • setFontVariant

      public void setFontVariant​(java.lang.String fontVariant)
      The font-variant.
    • getFontWeight

      public java.lang.String getFontWeight()
      The font-weight.
    • setFontWeight

      public void setFontWeight​(java.lang.String fontWeight)
      The font-weight.
    • getFontStretch

      public java.lang.String getFontStretch()
      The font-stretch.
    • setFontStretch

      public void setFontStretch​(java.lang.String fontStretch)
      The font-stretch.
    • getUnicodeRange

      public java.lang.String getUnicodeRange()
      The unicode-range.
    • setUnicodeRange

      public void setUnicodeRange​(java.lang.String unicodeRange)
      The unicode-range.
    • getSrc

      public java.lang.String getSrc()
      The src.
    • setSrc

      public void setSrc​(java.lang.String src)
      The src.
    • getPlatformFontFamily

      public java.lang.String getPlatformFontFamily()
      The resolved platform font family
    • setPlatformFontFamily

      public void setPlatformFontFamily​(java.lang.String platformFontFamily)
      The resolved platform font family