|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.pd.PDObject
de.intarsys.pdf.font.PDFontDescriptor
public abstract class PDFontDescriptor
the detail information about a font.
Nested Class Summary | |
---|---|
static class |
PDFontDescriptor.MetaClass
The meta class implementation |
Field Summary | |
---|---|
static COSName |
CN_Type_FontDescriptor
|
static PDFontDescriptor.MetaClass |
META
The meta class instance |
Fields inherited from class de.intarsys.pdf.pd.PDObject |
---|
DK_Subtype, DK_Type |
Method Summary | |
---|---|
abstract float |
getAscent()
The font ascent. |
abstract float |
getAvgWidth()
The font average width. |
abstract float |
getCapHeight()
The font capital height. |
abstract float |
getDescent()
The font descent. |
FontDescriptorFlags |
getFlags()
|
abstract int |
getFlagsValue()
The font flags. |
abstract CDSRectangle |
getFontBB()
The character enclosing rectangle. |
abstract String |
getFontFamily()
The font family name. |
byte[] |
getFontFile()
|
byte[] |
getFontFile2()
|
byte[] |
getFontFile3()
|
abstract String |
getFontName()
The font name. |
abstract float |
getItalicAngle()
The font italic angle. |
abstract int |
getLeading()
The font leading. |
abstract int |
getMaxWidth()
The font character maximal width. |
abstract int |
getMissingWidth()
The width to use when definition is missing. |
abstract int |
getStemH()
The font horizontal stem. |
abstract int |
getStemV()
The font vertical stem. |
abstract float |
getXHeight()
The height of "X". |
boolean |
isAllCap()
|
boolean |
isFixedPitch()
|
boolean |
isForceBold()
|
boolean |
isItalic()
|
boolean |
isNonsymbolic()
|
boolean |
isScript()
|
boolean |
isSerif()
|
boolean |
isSmallCap()
|
boolean |
isSymbolic()
|
void |
setAllCap(boolean flag)
|
void |
setFixedPitch(boolean flag)
|
abstract void |
setFlagsValue(int value)
|
void |
setForceBold(boolean flag)
|
void |
setItalic(boolean flag)
|
void |
setNonsymbolic(boolean flag)
|
void |
setScript(boolean flag)
|
void |
setSerif(boolean flag)
|
void |
setSmallCap(boolean flag)
|
void |
setSymbolic(boolean flag)
|
Methods inherited from class de.intarsys.pdf.pd.PDObject |
---|
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toString |
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
---|
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PDFontDescriptor.MetaClass META
public static final COSName CN_Type_FontDescriptor
Method Detail |
---|
public boolean isAllCap()
public boolean isFixedPitch()
public boolean isForceBold()
public boolean isItalic()
public boolean isNonsymbolic()
public boolean isScript()
public boolean isSerif()
public boolean isSmallCap()
public boolean isSymbolic()
public void setAllCap(boolean flag)
public void setFixedPitch(boolean flag)
public void setForceBold(boolean flag)
public void setItalic(boolean flag)
public void setNonsymbolic(boolean flag)
public void setScript(boolean flag)
public void setSerif(boolean flag)
public void setSmallCap(boolean flag)
public void setSymbolic(boolean flag)
public abstract float getAscent()
public abstract float getAvgWidth()
public abstract float getCapHeight()
public abstract float getDescent()
public abstract int getFlagsValue()
public abstract void setFlagsValue(int value)
public abstract CDSRectangle getFontBB()
public abstract String getFontFamily()
public abstract String getFontName()
public abstract float getItalicAngle()
public abstract int getLeading()
public abstract int getMaxWidth()
public abstract int getMissingWidth()
public abstract int getStemH()
public abstract int getStemV()
public abstract float getXHeight()
public byte[] getFontFile()
public byte[] getFontFile2()
public byte[] getFontFile3()
public FontDescriptorFlags getFlags()
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |