Class Font

java.lang.Object
com.structurizr.view.Font

public final class Font extends Object
Represents a font, including a name and an optional URL for web fonts.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
      The name of the font family to use; e.g. "Times New Roman", etc.
      Parameters:
      name - the name of a font family
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
      Sets the URL where the web font can be found.
      Parameters:
      url - a URL as a String