public class CompoundFontIdentifier extends Object implements FontIdentifier
Constructor and Description |
---|
CompoundFontIdentifier(FontIdentifier identifier,
FontRegistry registry,
boolean boldSpecified,
boolean italicsSpecified) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
FontType |
getFontType()
Returns the general type of this font identifier.
|
FontIdentifier |
getIdentifier() |
FontRegistry |
getRegistry() |
int |
hashCode() |
boolean |
isBoldSpecified() |
boolean |
isItalicsSpecified() |
boolean |
isScalable()
Defines, whether the font identifier represents a scalable font type.
|
public CompoundFontIdentifier(FontIdentifier identifier, FontRegistry registry, boolean boldSpecified, boolean italicsSpecified)
public FontIdentifier getIdentifier()
public boolean isBoldSpecified()
public boolean isItalicsSpecified()
public boolean equals(Object o)
equals
in interface FontIdentifier
equals
in class Object
public int hashCode()
hashCode
in interface FontIdentifier
hashCode
in class Object
public boolean isScalable()
FontIdentifier
isScalable
in interface FontIdentifier
public FontType getFontType()
FontIdentifier
getFontType
in interface FontIdentifier
public FontRegistry getRegistry()
Copyright © 2018 Hitachi Vantara. All rights reserved.