public class AFPFontAttributes
extends java.lang.Object
Constructor | Description |
---|---|
AFPFontAttributes(java.lang.String fontKey,
AFPFont font,
int pointSize) |
Constructor for the AFPFontAttributes
|
Modifier and Type | Method | Description |
---|---|---|
AFPFont |
getFont() |
Return the font
|
java.lang.String |
getFontKey() |
Return the FontKey attribute
|
int |
getFontReference() |
Return the FontReference attribute
|
int |
getPointSize() |
Return the point size attribute
|
void |
setFontReference(int fontReference) |
Sets the FontReference attribute
|
java.lang.String |
toString() |
public AFPFontAttributes(java.lang.String fontKey, AFPFont font, int pointSize)
fontKey
- the font keyfont
- the fontpointSize
- the point sizepublic AFPFont getFont()
public java.lang.String getFontKey()
public int getPointSize()
public int getFontReference()
public void setFontReference(int fontReference)
fontReference
- the FontReference to setpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.