Package com.structurizr.view
Class Font
java.lang.Object
com.structurizr.view.Font
public final class Font
extends java.lang.Object
Represents a font, including a name and an optional URL for web fonts.
-
Constructor Details
-
Method Details
-
getName
public java.lang.String getName() -
setName
public void setName(java.lang.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 java.lang.String getUrl() -
setUrl
public void setUrl(java.lang.String url)Sets the URL where the web font can be found.- Parameters:
url
- a URL as a String
-