public class CompoundFontFamily extends Object implements FontFamily
Constructor and Description |
---|
CompoundFontFamily(FontFamily base,
FontRegistry registry) |
Modifier and Type | Method and Description |
---|---|
String[] |
getAllNames() |
String |
getFamilyName()
Returns the name of the font family (in english).
|
FontRecord |
getFontRecord(boolean bold,
boolean italics)
This selects the most suitable font in that family.
|
FontRegistry |
getRegistry() |
public CompoundFontFamily(FontFamily base, FontRegistry registry)
public FontRegistry getRegistry()
public String getFamilyName()
FontFamily
getFamilyName
in interface FontFamily
public String[] getAllNames()
getAllNames
in interface FontFamily
public FontRecord getFontRecord(boolean bold, boolean italics)
FontFamily
getFontRecord
in interface FontFamily
Copyright © 2019 Hitachi Vantara. All rights reserved.