|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.pdf.content.CSDeviceFilter
public abstract class CSDeviceFilter
Abstract superclass for implementing a filter on ICSDevice.
Just create a subclass and switch of / extend the methods of interest.
| Constructor Summary | |
|---|---|
CSDeviceFilter(ICSDevice device)
|
|
| Method Summary | |
|---|---|
void |
close()
Close the device after use. |
void |
compatibilityBegin()
Begin a compatibility section. |
void |
compatibilityEnd()
End a compatibility section. |
void |
doShading(COSName resourceName,
PDShading shading)
Paint shape and color shading according to shading dictionary. |
void |
doXObject(COSName name,
PDXObject xobject)
Stroke a PDXObject. |
ICSDevice |
getDevice()
|
GraphicsState |
getGraphicsState()
The current GraphicsState active. |
ICSInterpreter |
getInterpreter()
The ICSInterpreter associated with this ICSDevice. |
void |
inlineImage(PDImage img)
Stroke an inlined image. |
void |
markedContentBegin(COSName tag)
Begin a marked content sequence. |
void |
markedContentBeginProperties(COSName tag,
COSName resourceName,
COSDictionary properties)
Begin a marked content sequence with a property list. |
void |
markedContentEnd()
End marked content sequence started with "BMC" or "BDC". |
void |
markedContentPoint(COSName tag)
Set a marked point. |
void |
markedContentPointProperties(COSName tag,
COSName resourceName,
COSDictionary properties)
Define a marked content point with a property list. |
void |
open(ICSInterpreter interpreter)
Open the device for use by interpreter. |
void |
pathClipEvenOdd()
Intersect the current clipping path with the current path using the even/odd rule. |
void |
pathClipNonZero()
Intersect the current clipping path with the current path using the nonzero winding rule. |
void |
pathClose()
Close the path and append a line segment from the current coordinate to the starting point of the path. |
void |
pathCloseFillStrokeEvenOdd()
Close, Fill and then stroke the path using the even/odd rule. |
void |
pathCloseFillStrokeNonZero()
Close, Fill and then stroke the path using the non zero winding rule. |
void |
pathCloseStroke()
Close and then stroke the path. |
void |
pathEnd()
End the path without filling or stroking. |
void |
pathFillEvenOdd()
Fill the path using the even/odd rule. |
void |
pathFillNonZero()
Fill the path using the non-zero winding rule. |
void |
pathFillStrokeEvenOdd()
Fill and then stroke the path using the even/odd rule. |
void |
pathFillStrokeNonZero()
Fill and then stroke the path using the non-zero winding rule. |
void |
pathStroke()
Stroke the current path. |
void |
penCurveToC(float x1,
float y1,
float x2,
float y2,
float x3,
float y3)
Append a cubic bezier curve to the path. |
void |
penCurveToV(float x2,
float y2,
float x3,
float y3)
Append a cubic bezier curve to the path. |
void |
penCurveToY(float x1,
float y1,
float x3,
float y3)
Append a cubic bezier curve to the path. |
void |
penLineTo(float x,
float y)
Add a line from the current point to x, y. |
void |
penMoveTo(float x,
float y)
Move the current point to x, y. |
void |
penRectangle(float x,
float y,
float w,
float h)
Append a complete rectangle to as a subpath. |
void |
restoreState()
Restore the graphics state from the stack. |
void |
saveState()
Save the current graphics state on a stack for later use. |
void |
setExtendedState(COSName resourceName,
PDExtGState gstate)
Set the dictionary as the new graphic state, creating a new PDResources entry if needed. |
void |
setFlatnessTolerance(float flatness)
Set the flatness tolerance. |
void |
setLineCap(int capStyle)
The line cap specifies the shape to be used at the ends of open subpaths. |
void |
setLineDash(float[] pattern,
float phase)
Define the pattern used to stroke paths. |
void |
setLineJoin(int joinStyle)
The line join specifies the shape to be used at the connection points of two adjacent lines in a path. |
void |
setLineWidth(float lineWidth)
Set the thickness of the line used to stroke a path. |
void |
setMiterLimit(float miterLimit)
The maximum ratio of MiterLength/LineWidth when connecting two lines with miter style. |
void |
setNonStrokeColorCMYK(float c,
float m,
float y,
float k)
Set the non stroking color space to /DeviceCMYK and set the color values c, m, y, K. |
void |
setNonStrokeColorGray(float gray)
Set the non stroking color space to /DeviceGray and set the gray level to gray. |
void |
setNonStrokeColorRGB(float r,
float g,
float b)
Set the non stroking color space to /DeviceRGB and set the color values r, g, b. |
void |
setNonStrokeColorSpace(COSName resourceName,
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 |
setNonStrokeColorValues(float[] values,
COSName resourceName,
PDPattern pattern)
Set the color used for non stroking operations, dependent on the currently selected special color spaces. |
void |
setRenderingIntent(COSName intent)
Set the color rendering intent. |
void |
setStrokeColorCMYK(float c,
float m,
float y,
float k)
Set the stroking color space to /DeviceCMYK and set the color values c, m, y, K. |
void |
setStrokeColorGray(float gray)
Set the stroking color space to /DeviceGray and set the gray level to gray. |
void |
setStrokeColorRGB(float r,
float g,
float b)
Set the stroking color space to /DeviceRGB and set the color values r, g, b. |
void |
setStrokeColorSpace(COSName resourceName,
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 |
setStrokeColorValues(float[] values,
COSName resourceName,
PDPattern pattern)
Set the color used for stroking operations, dependent on the currently selected special color spaces. |
boolean |
supportsColorSpace()
true if this device supports (needs) PDColorSpace
objects to be reported in its callbacks. |
boolean |
supportsExtendedState()
true if this device supports (needs) PDExtGState
objects to be reported in its callbacks. |
boolean |
supportsFont()
true if this device supports (needs) PDFont objects
to be reported in its callbacks. |
boolean |
supportsInlineImage()
true if this device supports (needs) PDImage objects
to be reported in its "inlineImage" callbacks. |
boolean |
supportsPattern()
true if this device supports (needs) PDPattern
objects to be reported in its callbacks. |
boolean |
supportsProperties()
true if this device supports (needs) properties to be
reported in its callbacks. |
boolean |
supportsShading()
true if this device supports (needs) PDShading
objects to be reported in its callbacks. |
boolean |
supportsXObject()
true if this device supports (needs) PDXObject
objects to be reported in its callbacks. |
void |
textBegin()
Begin text mode. |
void |
textEnd()
End text mode. |
void |
textLineMove(float dx,
float dy)
Move the current text line by dx, dy. |
void |
textLineNew()
Move the current position to a new line. |
void |
textMove(float dx,
float dy)
Move the current text cursor represented by the current text state transform by dx, dy. |
void |
textMoveTo(float x,
float y)
Move the current text cursor represented by the current text state transform to x, y. |
void |
textSetCharSpacing(float charSpacing)
Set the character spacing. |
void |
textSetFont(COSName resourceName,
PDFont font,
float size)
Set the current font and size. |
void |
textSetHorizontalScaling(float scale)
Set the horizontal scling factor. |
void |
textSetLeading(float leading)
Set the text leading. |
void |
textSetRenderingMode(int renderingMode)
Set the text rendering mode. |
void |
textSetRise(float rise)
Set the text rise. |
void |
textSetTransform(float a,
float b,
float c,
float d,
float e,
float f)
Set the text transformation matrix. |
void |
textSetWordSpacing(float wordSpacing)
Set the word spacing. |
void |
textShow(byte[] text,
int offset,
int length)
Show a sequence of bytes as text. |
void |
textShow(char[] chars,
int offset,
int length)
Show a sequence of characters as text, using the current font encoding. |
void |
textShow(String text)
Show a string value as text, using the current font encoding. |
void |
textT3SetGlyphWidth(float x,
float y)
Set the glyph width for a type 3 font. |
void |
textT3SetGlyphWidthBB(float x,
float y,
float llx,
float lly,
float urx,
float ury)
Set the glyph width and bounding box for a type 3 font. |
void |
transform(float a,
float b,
float c,
float d,
float e,
float f)
Modify the current transformation matrix by concatenating the transformations. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSDeviceFilter(ICSDevice device)
| Method Detail |
|---|
public void close()
ICSDevice
close in interface ICSDevicepublic void compatibilityBegin()
ICSDevicePDF graphics operator "BX"
compatibilityBegin in interface ICSDevicepublic void compatibilityEnd()
ICSDevicePDF graphics operator "EX"
compatibilityEnd in interface ICSDevice
public void doShading(COSName resourceName,
PDShading shading)
ICSDevicePDF graphics operator "sh"
doShading in interface ICSDeviceresourceName - The logical name of the resource in the PDResourcesshading - The PDShading to be painted.
public void doXObject(COSName name,
PDXObject xobject)
ICSDevicePDF graphics operator "Do"
doXObject in interface ICSDevicename - The logical name of the resource in the PDResourcesxobject - The PDXObject to be stroked.public ICSDevice getDevice()
public GraphicsState getGraphicsState()
ICSDeviceGraphicsState active.
This is a read only representation of the graphics state used when performing rendering operations in the device.
getGraphicsState in interface ICSDeviceGraphicsState active.public ICSInterpreter getInterpreter()
ICSDeviceICSInterpreter associated with this ICSDevice. The
interpreter is associated with "open" and should be no longer used after
"close".
getInterpreter in interface ICSDeviceICSInterpreter associated with this ICSDevice.public void inlineImage(PDImage img)
ICSDevicePDF graphics operators "BI", "ID", "EI"
inlineImage in interface ICSDeviceimg - The inlined image. The image may use some special keys instead
of the standard PDImage dictionary keys.public void markedContentBegin(COSName tag)
ICSDevicePDF graphics operator "BMC"
markedContentBegin in interface ICSDevicetag - The tag indicating the role or significance.
public void markedContentBeginProperties(COSName tag,
COSName resourceName,
COSDictionary properties)
ICSDevicePDF graphics operator "BDC"
markedContentBeginProperties in interface ICSDevicetag - The tag indicating the role or significance.resourceName - The logical name of the resource in the PDResourcesproperties - The properties for the marked content sequence.public void markedContentEnd()
ICSDevicePDF graphics operator "EMC"
markedContentEnd in interface ICSDevicepublic void markedContentPoint(COSName tag)
ICSDevicePDF graphics operator "MP"
markedContentPoint in interface ICSDevicetag - The tag indicating the role or significance.
public void markedContentPointProperties(COSName tag,
COSName resourceName,
COSDictionary properties)
ICSDevicePDF graphics operator "DP"
markedContentPointProperties in interface ICSDevicetag - The tag indicating the role or significance.resourceName - The logical name of the resource in the PDResourcesproperties - The properties for the marked content point.public void open(ICSInterpreter interpreter)
ICSDeviceinterpreter.
open in interface ICSDevicepublic void pathClipEvenOdd()
ICSDevicePDF graphics operator "W*"
pathClipEvenOdd in interface ICSDevicepublic void pathClipNonZero()
ICSDevicePDF graphics operator "W"
pathClipNonZero in interface ICSDevicepublic void pathClose()
ICSDevicePDF graphics operator "h"
pathClose in interface ICSDevicepublic void pathCloseFillStrokeEvenOdd()
ICSDevicePDF graphics operator "b*"
pathCloseFillStrokeEvenOdd in interface ICSDevicepublic void pathCloseFillStrokeNonZero()
ICSDevicePDF graphics operator "b"
pathCloseFillStrokeNonZero in interface ICSDevicepublic void pathCloseStroke()
ICSDevicePDF graphics operator "s"
pathCloseStroke in interface ICSDevicepublic void pathEnd()
ICSDeviceThis may for example be used to manipulate the clipping path without a painting operation.
PDF graphics operator "n"
pathEnd in interface ICSDevicepublic void pathFillEvenOdd()
ICSDevicePDF graphics operator "f*"
pathFillEvenOdd in interface ICSDevicepublic void pathFillNonZero()
ICSDeviceAn open subpath is closed before filling.
PDF graphics operator "f"
pathFillNonZero in interface ICSDevicepublic void pathFillStrokeEvenOdd()
ICSDevicePDF graphics operator "B*"
pathFillStrokeEvenOdd in interface ICSDevicepublic void pathFillStrokeNonZero()
ICSDevicePDF graphics operator "B"
pathFillStrokeNonZero in interface ICSDevicepublic void pathStroke()
ICSDevicePDF graphics operator "S"
pathStroke in interface ICSDevice
public void penCurveToC(float x1,
float y1,
float x2,
float y2,
float x3,
float y3)
ICSDevice
current
+---------* x1/y1
. _
-.
. *x2/y2
.
.
.
+ x3/y3
PDF graphics operator "c"
penCurveToC in interface ICSDevicex1 - x coordinate of first control pointy1 - y coordinate of first control pointx2 - x coordinate of second control pointy2 - y coordinate of second control pointx3 - x coordinate of endpointy3 - y coordinate of endpoint
public void penCurveToV(float x2,
float y2,
float x3,
float y3)
ICSDevice
current
+
. _
-.
. *x2/y2
.
.
.
+ x3/y3
PDF graphics operator "v"
penCurveToV in interface ICSDevicex2 - x coordinate of second control pointy2 - y coordinate of second control pointx3 - x coordinate of endpointy3 - y coordinate of endpoint
public void penCurveToY(float x1,
float y1,
float x3,
float y3)
ICSDevice
The curve extends from the current point to x3, y3, where x1,y1 and x3,y3
are the bezier control points.
current
+---------* x1/y1
. _
-.
.
.
.
.
+ x3/y3
PDF graphics operator "y"
penCurveToY in interface ICSDevicex1 - x coordinate of first control pointy1 - y coordinate of first control pointx3 - x coordinate of endpointy3 - y coordinate of endpoint
public void penLineTo(float x,
float y)
ICSDevicex, y.
The new current point is x, y.
PDF graphics operator "l"
penLineTo in interface ICSDevicex - The new current x coordinatey - The new current y coordinate
public void penMoveTo(float x,
float y)
ICSDevicex, y. No line
is added to the path, a new subpath is started.
PDF graphics operator "m"
penMoveTo in interface ICSDevicex - The new current x coordinatey - The new current y coordinate
public void penRectangle(float x,
float y,
float w,
float h)
ICSDevice
The lower left corner is at x, y, the
dimensions are width and height. The
numbers are defined in user space.
PDF graphics operator "re"
penRectangle in interface ICSDevicex - The x coordinate of the lower left corner in user spacey - The y coordinate of the lower left corner in user spacew - The width in user spaceh - The height in user spacepublic void restoreState()
ICSDevicePDF graphics operator "Q"
restoreState in interface ICSDevicepublic void saveState()
ICSDevicePDF graphics operator "q"
saveState in interface ICSDevice
public void setExtendedState(COSName resourceName,
PDExtGState gstate)
ICSDevicePDResources entry if needed.
PDF graphics operator "gs"
setExtendedState in interface ICSDeviceresourceName - The logical name of the resource in the PDResourcesgstate - The new PDExtGStatepublic void setFlatnessTolerance(float flatness)
ICSDeviceflatness is a value between 0
and 100, with 0 defining the device's default flatness tolerance.
PDF graphics operator "i"
setFlatnessTolerance in interface ICSDeviceflatness - The flatness tolerance between 0 and 100.public void setLineCap(int capStyle)
ICSDevice
0: Butt. The stroke is cut at the endpoint.
1: Round. A circle is drawn with the diamter of the line width at the endpoint
2: Square. A square is drawn with its center at the endpoint.
PDF graphics operator "J"
setLineCap in interface ICSDevicecapStyle - The line cap style to use (0,1 or 2)
public void setLineDash(float[] pattern,
float phase)
ICSDeviceunitsOn defines a
length in user space where the line is drawn, unitsOff
defines a length in user space wher the line is not drawn.
phase defines a "offset" in the pattern definition.
This is a simplified version that only allows for a two phase pattern.
PDF graphics operator "d"
setLineDash in interface ICSDevicepattern - The pattern array for the dashphase - Offset in patternpublic void setLineJoin(int joinStyle)
ICSDevice
0: Miter Join, the outer line boreders are extended until they meet.
1: Round join. A circle is drawn at the meeting point with its
diameter the same as the line width.
2: Bevel join. The segments are cut at the endpoints as in the line cap
style "Butt". The empty triangle is filled.
PDF graphics operator "j"
setLineJoin in interface ICSDevicejoinStyle - The line join style to use (one of 0,1,2)public void setLineWidth(float lineWidth)
ICSDeviceA width of zero denotes the thinest line that can be rendered.
PDF graphics operator "w"
setLineWidth in interface ICSDevicelineWidth - The line width in user space.public void setMiterLimit(float miterLimit)
ICSDevicePDF graphics operator "M"
setMiterLimit in interface ICSDevicemiterLimit - The maximum ratio of MiterLength/LineWidth when connecting two
lines with miter style.
public void setNonStrokeColorCMYK(float c,
float m,
float y,
float k)
ICSDevicec, m, y, K.
setNonStrokeColorCMYK in interface ICSDevicec - A number between 0 (minimum) and 1 (maximum)m - A number between 0 (minimum) and 1 (maximum)y - A number between 0 (minimum) and 1 (maximum)k - A number between 0 (minimum) and 1 (maximum)public void setNonStrokeColorGray(float gray)
ICSDevicegray.
setNonStrokeColorGray in interface ICSDevicegray - A number between 0 (black) and 1 (white)
public void setNonStrokeColorRGB(float r,
float g,
float b)
ICSDevicer, g, b.
setNonStrokeColorRGB in interface ICSDevicer - A number between 0 (minimum) and 1 (maximum)g - A number between 0 (minimum) and 1 (maximum)b - A number between 0 (minimum) and 1 (maximum)
public void setNonStrokeColorSpace(COSName resourceName,
PDColorSpace colorSpace)
ICSDevicePDF graphics operator "cs"
setNonStrokeColorSpace in interface ICSDeviceresourceName - The logical name of the resource in the PDResourcescolorSpace - The new PDColorSpacepublic void setNonStrokeColorValues(float[] values)
ICSDevicePDF graphics operator "sc" or "scn", dependen on the active color space.
setNonStrokeColorValues in interface ICSDevicevalues - The color values
public void setNonStrokeColorValues(float[] values,
COSName resourceName,
PDPattern pattern)
ICSDevicePDF graphics operator "scn"
setNonStrokeColorValues in interface ICSDevicevalues - The color values.resourceName - An optional logical name of the resource in the
PDResourcespattern - An optional PDPatternpublic void setRenderingIntent(COSName intent)
ICSDevicePDF graphics operator "ri"
setRenderingIntent in interface ICSDeviceintent - The name of the rendering intent.
public void setStrokeColorCMYK(float c,
float m,
float y,
float k)
ICSDevicec, m, y, K.
setStrokeColorCMYK in interface ICSDevicec - A number between 0 (minimum) and 1 (maximum)m - A number between 0 (minimum) and 1 (maximum)y - A number between 0 (minimum) and 1 (maximum)k - A number between 0 (minimum) and 1 (maximum)public void setStrokeColorGray(float gray)
ICSDevicegray.
setStrokeColorGray in interface ICSDevicegray - A number between 0 (black) and 1 (white)
public void setStrokeColorRGB(float r,
float g,
float b)
ICSDevicer, g, b.
setStrokeColorRGB in interface ICSDevicer - A number between 0 (minimum) and 1 (maximum)g - A number between 0 (minimum) and 1 (maximum)b - A number between 0 (minimum) and 1 (maximum)
public void setStrokeColorSpace(COSName resourceName,
PDColorSpace colorSpace)
ICSDevicePDF graphics operator "CS"
setStrokeColorSpace in interface ICSDeviceresourceName - The logical name of the resource in the PDResourcescolorSpace - The new PDColorSpacepublic void setStrokeColorValues(float[] values)
ICSDevicePDF graphics operator "SC" or "SCN", dependen on the active color space.
setStrokeColorValues in interface ICSDevicevalues - The color values.
public void setStrokeColorValues(float[] values,
COSName resourceName,
PDPattern pattern)
ICSDevicePDF graphics operator "SCN"
setStrokeColorValues in interface ICSDevicevalues - The color values.resourceName - An optional logical name of the resource in the
PDResourcespattern - An optional PDPatternpublic boolean supportsColorSpace()
ICSDeviceFeaturestrue if this device supports (needs) PDColorSpace
objects to be reported in its callbacks.
supportsColorSpace in interface ICSDeviceFeaturestrue if this device supports (needs)
PDColorSpace objects to be reported in its callbacks.public boolean supportsExtendedState()
ICSDeviceFeaturestrue if this device supports (needs) PDExtGState
objects to be reported in its callbacks.
supportsExtendedState in interface ICSDeviceFeaturestrue if this device supports (needs)
PDExtGState objects to be reported in its callbacks.public boolean supportsFont()
ICSDeviceFeaturestrue if this device supports (needs) PDFont objects
to be reported in its callbacks.
supportsFont in interface ICSDeviceFeaturestrue if this device supports (needs) PDFont
objects to be reported in its callbacks.public boolean supportsInlineImage()
ICSDeviceFeaturestrue if this device supports (needs) PDImage objects
to be reported in its "inlineImage" callbacks.
supportsInlineImage in interface ICSDeviceFeaturestrue if this device supports (needs) PDImage
objects to be reported in its callbacks.public boolean supportsPattern()
ICSDeviceFeaturestrue if this device supports (needs) PDPattern
objects to be reported in its callbacks.
supportsPattern in interface ICSDeviceFeaturestrue if this device supports (needs)
PDPattern objects to be reported in its callbacks.public boolean supportsProperties()
ICSDeviceFeaturestrue if this device supports (needs) properties to be
reported in its callbacks.
supportsProperties in interface ICSDeviceFeaturestrue if this device supports (needs) properties to
be reported in its callbacks.public boolean supportsShading()
ICSDeviceFeaturestrue if this device supports (needs) PDShading
objects to be reported in its callbacks.
supportsShading in interface ICSDeviceFeaturestrue if this device supports (needs)
PDShading objects to be reported in its callbacks.public boolean supportsXObject()
ICSDeviceFeaturestrue if this device supports (needs) PDXObject
objects to be reported in its callbacks.
supportsXObject in interface ICSDeviceFeaturestrue if this device supports (needs)
PDXObject objects to be reported in its callbacks.public void textBegin()
ICSDevicePDF graphics operator "BT"
textBegin in interface ICSDevicepublic void textEnd()
ICSDevicePDF graphics operator "ET"
textEnd in interface ICSDevice
public void textLineMove(float dx,
float dy)
ICSDevicedx, dy.
PDF graphics operator "Td"
textLineMove in interface ICSDevicedx - The x offset for the new glyph starting point from the last
text line starting point.dy - The y offset for the new glyph starting point from the last
text line starting point.public void textLineNew()
ICSDevicey.
PDF graphics operator "T*"
textLineNew in interface ICSDevice
public void textMove(float dx,
float dy)
ICSDevicedx, dy.
There is no graphics operator for this. It is implemented as a tool for the ease of creating a content stream.
textMove in interface ICSDevicedx - The x offset for the new glyph starting point from the current
text cursor position.dy - The x offset for the new glyph starting point from the current
text cursor position.
public void textMoveTo(float x,
float y)
ICSDevicex, y.
There is no graphics operator for this. It is implemented as a tool for the ease of creating a content stream.
textMoveTo in interface ICSDevicex - The x coordinate for the next glyph starting point .y - The y coordinate for the next glyph starting point .public void textSetCharSpacing(float charSpacing)
ICSDevicePDF graphics operator "Tc"
textSetCharSpacing in interface ICSDevicecharSpacing - The character spacing
public void textSetFont(COSName resourceName,
PDFont font,
float size)
ICSDevicePDF graphics operator "Tf"
textSetFont in interface ICSDeviceresourceName - The logical name of the resource in the PDResourcesfont - The new PDFontsize - The new font size (scaling)public void textSetHorizontalScaling(float scale)
ICSDevicePDF graphics operator "Tz"
textSetHorizontalScaling in interface ICSDevicescale - The new horizontal scaling factor.public void textSetLeading(float leading)
ICSDevicePDF graphics operator "TL"
textSetLeading in interface ICSDeviceleading - The new leadingpublic void textSetRenderingMode(int renderingMode)
ICSDevicePDF graphics operator "Tr"
textSetRenderingMode in interface ICSDevicerenderingMode - The new rendering mode.public void textSetRise(float rise)
ICSDevicePDF graphics operator "Ts"
textSetRise in interface ICSDevicerise - The new text rise (super/subscript) amount
public void textSetTransform(float a,
float b,
float c,
float d,
float e,
float f)
ICSDevicePDF graphics operator "Tm"
textSetTransform in interface ICSDevicea - operand 1,1 in the matrixb - operand 1,2 in the matrixc - operand 2,1 in the matrixd - operand 2,2 in the matrixe - operand 3,1 in the matrixf - operand 3,2 in the matrixpublic void textSetWordSpacing(float wordSpacing)
ICSDevicePDF graphics operator "Tw"
textSetWordSpacing in interface ICSDevicewordSpacing - The new word spacing.
public void textShow(byte[] text,
int offset,
int length)
ICSDevicePDF graphics operator "Tj"
textShow in interface ICSDevicetext - The bytes to be shown.
public void textShow(char[] chars,
int offset,
int length)
ICSDevice
This is an optional operation from the viewpoint of an
ICSInterpreter. It is called only "manually" in content creation
devices. This method may throw an UnsupportedOperationException.
PDF graphics operator "Tj"
textShow in interface ICSDevicechars - The chars to be shown.public void textShow(String text)
ICSDevice
This is an optional operation from the viewpoint of an
ICSInterpreter. It is called only "manually" in content creation
devices. This method may throw an UnsupportedOperationException.
PDF graphics operator "Tj"
textShow in interface ICSDevicetext - The text value to be shown using the current fonts encoding.
public void textT3SetGlyphWidth(float x,
float y)
ICSDevicePDF graphics operator "d0"
textT3SetGlyphWidth in interface ICSDevicex - The glyph widthy - must be 0
public void textT3SetGlyphWidthBB(float x,
float y,
float llx,
float lly,
float urx,
float ury)
ICSDevicePDF graphics operator "d1"
textT3SetGlyphWidthBB in interface ICSDevicex - The glyph width.y - must be 0llx - lower left x of bounding boxlly - lower left y of bounding boxurx - upper right x of bounding boxury - upper right y of bounding box
public void transform(float a,
float b,
float c,
float d,
float e,
float f)
ICSDevicePDF graphics operator "cm"
transform in interface ICSDevicea - operand 1,1 in the matrixb - operand 1,2 in the matrixc - operand 2,1 in the matrixd - operand 2,2 in the matrixe - operand 3,1 in the matrixf - operand 3,2 in the matrix
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||