intarsys PDF library API

de.intarsys.pdf.pd
Class DefaultAppearance.DefaultAppearanceDevice

java.lang.Object
  extended by de.intarsys.pdf.content.CSDeviceAdapter
      extended by de.intarsys.pdf.content.CSVirtualDevice
          extended by de.intarsys.pdf.pd.DefaultAppearance.DefaultAppearanceDevice
All Implemented Interfaces:
ICSDevice
Enclosing class:
DefaultAppearance

public class DefaultAppearance.DefaultAppearanceDevice
extends CSVirtualDevice


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 de.intarsys.pdf.content.CSDeviceAdapter
close, compatibilityBegin, compatibilityEnd, doShading, doXObject, getGraphicsState, getInterpreter, inlineImage, markedContentBegin, markedContentBeginProperties, markedContentEnd, markedContentPoint, markedContentPointProperties, pathClipEvenOdd, pathClipNonZero, pathClose, pathCloseFillStrokeEvenOdd, pathCloseFillStrokeNonZero, pathCloseStroke, pathEnd, pathFillEvenOdd, pathFillNonZero, pathFillStrokeEvenOdd, pathFillStrokeNonZero, pathStroke, penCurveToC, penCurveToV, penCurveToY, penLineTo, penMoveTo, penRectangle, restoreState, saveState, setExtendedState, setFlatnessTolerance, setLineCap, setLineDash, setLineJoin, setLineWidth, setMiterLimit, setNonStrokeColorCMYK, setNonStrokeColorGray, setNonStrokeColorRGB, setNonStrokeColorValues, setRenderingIntent, setStrokeColorCMYK, setStrokeColorGray, setStrokeColorRGB, setStrokeColorValues, textBegin, textEnd, textLineMove, textLineNew, textMove, textMoveTo, textSetCharSpacing, textSetHorizontalScaling, textSetLeading, textSetRenderingMode, textSetRise, textSetTransform, textSetWordSpacing, textShow, textShow, textT3SetGlyphWidth, textT3SetGlyphWidthBB, transform
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAppearance.DefaultAppearanceDevice

public DefaultAppearance.DefaultAppearanceDevice()
Method Detail

textSetFont

public void textSetFont(COSName name,
                        PDFont paramFont,
                        float size)
Description copied from interface: ICSDevice
Set the current font and size.

PDF graphics operator "Tf"

Specified by:
textSetFont in interface ICSDevice
Overrides:
textSetFont in class CSDeviceAdapter
Parameters:
name - The logical name of the resource in the PDResources
paramFont - The new PDFont
size - The new font size (scaling)

setNonStrokeColorSpace

public void setNonStrokeColorSpace(COSName name,
                                   PDColorSpace colorSpace)
Description copied from interface: ICSDevice
Set color space for non-stroking.

PDF graphics operator "cs"

Specified by:
setNonStrokeColorSpace in interface ICSDevice
Overrides:
setNonStrokeColorSpace in class CSDeviceAdapter
Parameters:
name - The logical name of the resource in the PDResources
colorSpace - The new PDColorSpace

setNonStrokeColorValues

public void setNonStrokeColorValues(float[] values)
Description copied from interface: ICSDevice
Set the color used for non stroking operations, dependent on the currently selected color spaces.

PDF graphics operator "sc" or "scn", dependen on the active color space.

Specified by:
setNonStrokeColorValues in interface ICSDevice
Overrides:
setNonStrokeColorValues in class CSDeviceAdapter
Parameters:
values - The color values

setStrokeColorSpace

public void setStrokeColorSpace(COSName name,
                                PDColorSpace colorSpace)
Description copied from interface: ICSDevice
Set color space for stroking.

PDF graphics operator "CS"

Specified by:
setStrokeColorSpace in interface ICSDevice
Overrides:
setStrokeColorSpace in class CSDeviceAdapter
Parameters:
name - The logical name of the resource in the PDResources
colorSpace - The new PDColorSpace

setStrokeColorValues

public void setStrokeColorValues(float[] values)
Description copied from interface: ICSDevice
Set the color used for stroking operations, dependent on the currently selected color spaces.

PDF graphics operator "SC" or "SCN", dependen on the active color space.

Specified by:
setStrokeColorValues in interface ICSDevice
Overrides:
setStrokeColorValues in class CSDeviceAdapter
Parameters:
values - The color values.

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.