de.intarsys.pdf.pd
Class DefaultAppearance
java.lang.Object
de.intarsys.pdf.pd.DefaultAppearance
public class DefaultAppearance
- extends Object
A internal representation of the parsed CSContent
for the default
appearance content stream fragment in a PDAcroFormField
.
DefaultAppearance
public DefaultAppearance(PDAcroFormNode node)
getFont
public PDFont getFont()
getFontColorValues
public float[] getFontColorValues()
- parse the requested font color from the default appearance string
- Returns:
- the font color used in the default appearance
- Throws:
IllegalStateException
getFontName
public COSName getFontName()
getFontSize
public float getFontSize()
getNode
public PDAcroFormNode getNode()
setFont
public void setFont(PDFont font)
setFontColorValues
public void setFontColorValues(float[] color)
setFontName
public void setFontName(COSName pFontName)
setFontSize
public void setFontSize(float pFontSize)
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.