public interface SWFFontDescription
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDisplay(char c)
Return true iff the font has a non-notdef glyph associated with it.
|
double |
getAscent()
Get the ascent value for the font.
|
String |
getCopyright()
Get the copyright string associated with the font.
|
double |
getDescent()
Get the descent for the font.
|
double |
getEmScale()
Get the native scaling units associated with the font.
|
String |
getFamily()
Get the family name for the font.
|
int |
getFirstChar()
Get the lowest unicode scalar value that has a non-notdef glyph associated with it.
|
String |
getFullName()
Get the Mac/English full name associated with the font, as required by the
DefineFontName tag.
|
double |
getHorizontalAdvance(char ccode)
Get the advance width associated with the given character.
|
int |
getLastChar()
Get the largest BMP value that has a non-notdef glyph associated with it.
|
double |
getLineGap()
Get the line gap for the font.
|
int |
getNumGlyphs()
Get the number of glyphs in the font.
|
void |
getOutline(char ccode,
OutlineConsumer consumer)
Get the outline associated with the given character.
|
Permission |
getPermissions()
Determine the permissions associated with this font.
|
String |
getPostscriptName()
Get the postscript name associated with the font.
|
String |
getSubFamily()
Get the subfamily name for the font.
|
String |
getTrademark()
Get the trademark string associated with the font.
|
boolean |
isBold()
Return true iff the font is the bold member of a family.
|
boolean |
isItalic()
Return true iff the font is the italic member of a family.
|
void getOutline(char ccode,
OutlineConsumer consumer)
throws UnsupportedFontException,
InvalidFontException
double getHorizontalAdvance(char ccode)
throws UnsupportedFontException,
InvalidFontException
boolean canDisplay(char c)
throws UnsupportedFontException,
InvalidFontException
Permission getPermissions() throws InvalidFontException, UnsupportedFontException
String getFamily() throws InvalidFontException, UnsupportedFontException
String getSubFamily() throws InvalidFontException, UnsupportedFontException
double getAscent()
throws InvalidFontException,
UnsupportedFontException
double getDescent()
throws InvalidFontException,
UnsupportedFontException
double getLineGap()
throws InvalidFontException,
UnsupportedFontException
int getFirstChar()
throws InvalidFontException,
UnsupportedFontException
int getLastChar()
throws InvalidFontException,
UnsupportedFontException
int getNumGlyphs()
throws InvalidFontException,
UnsupportedFontException
boolean isBold()
throws InvalidFontException,
UnsupportedFontException
boolean isItalic()
throws InvalidFontException,
UnsupportedFontException
double getEmScale()
throws InvalidFontException,
UnsupportedFontException
String getCopyright() throws InvalidFontException, UnsupportedFontException
String getTrademark() throws InvalidFontException, UnsupportedFontException
String getPostscriptName() throws InvalidFontException, UnsupportedFontException
String getFullName() throws InvalidFontException, UnsupportedFontException
Copyright © 2010 - 2020 Adobe. All Rights Reserved