|
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.content.CSDeviceAdapter
de.intarsys.pdf.content.CSVirtualDevice
de.intarsys.pdf.pd.DefaultAppearance.DefaultAppearanceDevice
public class DefaultAppearance.DefaultAppearanceDevice
Field Summary |
---|
Fields inherited from class de.intarsys.pdf.content.CSDeviceAdapter |
---|
MAX_STACK_SIZE |
Constructor Summary | |
---|---|
DefaultAppearance.DefaultAppearanceDevice()
|
Method Summary | |
---|---|
void |
setNonStrokeColorSpace(COSName name,
PDColorSpace colorSpace)
Set color space for non-stroking. |
void |
setNonStrokeColorValues(float[] values)
Set the color used for non stroking operations, dependent on the currently selected color spaces. |
void |
setStrokeColorSpace(COSName name,
PDColorSpace colorSpace)
Set color space for stroking. |
void |
setStrokeColorValues(float[] values)
Set the color used for stroking operations, dependent on the currently selected color spaces. |
void |
textSetFont(COSName name,
PDFont paramFont,
float size)
Set the current font and size. |
Methods inherited from class de.intarsys.pdf.content.CSVirtualDevice |
---|
open |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAppearance.DefaultAppearanceDevice()
Method Detail |
---|
public void textSetFont(COSName name, PDFont paramFont, float size)
ICSDevice
PDF graphics operator "Tf"
textSetFont
in interface ICSDevice
textSetFont
in class CSDeviceAdapter
name
- The logical name of the resource in the PDResources
paramFont
- The new PDFont
size
- The new font size (scaling)public void setNonStrokeColorSpace(COSName name, PDColorSpace colorSpace)
ICSDevice
PDF graphics operator "cs"
setNonStrokeColorSpace
in interface ICSDevice
setNonStrokeColorSpace
in class CSDeviceAdapter
name
- The logical name of the resource in the PDResources
colorSpace
- The new PDColorSpace
public void setNonStrokeColorValues(float[] values)
ICSDevice
PDF graphics operator "sc" or "scn", dependen on the active color space.
setNonStrokeColorValues
in interface ICSDevice
setNonStrokeColorValues
in class CSDeviceAdapter
values
- The color valuespublic void setStrokeColorSpace(COSName name, PDColorSpace colorSpace)
ICSDevice
PDF graphics operator "CS"
setStrokeColorSpace
in interface ICSDevice
setStrokeColorSpace
in class CSDeviceAdapter
name
- The logical name of the resource in the PDResources
colorSpace
- The new PDColorSpace
public void setStrokeColorValues(float[] values)
ICSDevice
PDF graphics operator "SC" or "SCN", dependen on the active color space.
setStrokeColorValues
in interface ICSDevice
setStrokeColorValues
in class CSDeviceAdapter
values
- The color values.
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |