Package com.storedobject.chart
Class Font.Family
java.lang.Object
com.storedobject.chart.Font.Family
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFallback(Font.Family fallbackFamily) Add a fallback for this family.static Font.FamilyCreate a font-family with the name provided.static Font.Familycursive()Create a font-family of type "cursive".static Font.Familyemoji()Create a font-family of type "emoji".static Font.Familyfangsong()Create a font-family of type "fangsong".static Font.Familyfantasy()Create a font-family of type "fantasy".static Font.Familymath()Create a font-family of type "math".static Font.FamilyCreate a font-family of type "monospace".static Font.FamilyCreate a font-family of type "sans-serif".static Font.Familyserif()Create a font-family of type "serif".static Font.FamilyCreate a font-family of type "system-ui".toString()static Font.FamilyCreate a font-family of type "ui-monospace".static Font.FamilyCreate a font-family of type "ui-rounded".static Font.FamilyCreate a font-family of type "ui-sans-serif".static Font.Familyui_serif()Create a font-family of type "ui-serif".
-
Method Details
-
create
Create a font-family with the name provided.- Returns:
- Family created.
-
serif
-
sans_serif
Create a font-family of type "sans-serif".- Returns:
- Family created.
-
monospace
Create a font-family of type "monospace".- Returns:
- Family created.
-
cursive
Create a font-family of type "cursive".- Returns:
- Family created.
-
fantasy
Create a font-family of type "fantasy".- Returns:
- Family created.
-
system_ui
Create a font-family of type "system-ui".- Returns:
- Family created.
-
ui_serif
Create a font-family of type "ui-serif".- Returns:
- Family created.
-
ui_sans_serif
Create a font-family of type "ui-sans-serif".- Returns:
- Family created.
-
ui_monospace
Create a font-family of type "ui-monospace".- Returns:
- Family created.
-
ui_rounded
Create a font-family of type "ui-rounded".- Returns:
- Family created.
-
math
-
emoji
-
fangsong
Create a font-family of type "fangsong".- Returns:
- Family created.
-
addFallback
Add a fallback for this family.- Parameters:
fallbackFamily- Fallback family to add.
-
toString
-