public class FontListEntry
extends java.lang.Object
FontListEntry
class is used to describe one single entry
in the list of fonts found on the platform.Constructor and Description |
---|
FontListEntry(java.lang.String fontProvider,
java.lang.String facename,
int size,
int style)
Creates a new font list entry descriptor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFacename()
Returns the font face name of this list entry
|
java.lang.String |
getFontProvider()
Returns the name of the provider of this font
|
int |
getSize()
Returns the size of this font list entry, or zero if this entry
represents a scalable font, such as a TrueType font.
|
int |
getStyle()
Returns the style flags supported by this font list entry.
|
public FontListEntry(java.lang.String fontProvider, java.lang.String facename, int size, int style)
facename
- The name of the font represented by this font
list entry.size
- The point size for this font list entry. If this value
is zero, the list entry represents a scalable font, such as a
TrueType font. Else the font represented by this entry only
supports the size given.style
- The style flags of the font. If the font has the
capability to derive several styles, the special value
0xff
can be used to specify this behaviour. Else
the font only supports the style given.public java.lang.String getFontProvider()
public java.lang.String getFacename()
public int getSize()
public int getStyle()
Copyright © 2010 - 2023 Adobe. All Rights Reserved