java.lang.Object | |
↳ | com.pdftron.pdf.GState |
GState is a class that keeps track of a number of style attributes used to visually define graphical Elements. Each PDF::Element has an associated GState that can be used to query or set various graphics properties.
Note: current clipping path is not tracked in the graphics state for efficiency reasons. In most cases tracking of the current clipping path is best left to the client.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | e_BG_funct | The Constant e_BG_funct. | |||||||||
int | e_UCR_funct | The Constant e_UCR_funct. | |||||||||
int | e_absolute_colorimetric | The Constant e_absolute_colorimetric. | |||||||||
int | e_alpha_is_shape | The Constant e_alpha_is_shape. | |||||||||
int | e_auto_stoke_adjust | The Constant e_auto_stoke_adjust. | |||||||||
int | e_bevel_join | The Constant e_bevel_join. | |||||||||
int | e_bl_color | The Constant e_bl_color. | |||||||||
int | e_bl_color_burn | The Constant e_bl_color_burn. | |||||||||
int | e_bl_color_dodge | The Constant e_bl_color_dodge. | |||||||||
int | e_bl_compatible | The Constant e_bl_compatible. | |||||||||
int | e_bl_darken | The Constant e_bl_darken. | |||||||||
int | e_bl_difference | The Constant e_bl_difference. | |||||||||
int | e_bl_exclusion | The Constant e_bl_exclusion. | |||||||||
int | e_bl_hard_light | The Constant e_bl_hard_light. | |||||||||
int | e_bl_hue | The Constant e_bl_hue. | |||||||||
int | e_bl_lighten | The Constant e_bl_lighten. | |||||||||
int | e_bl_luminosity | The Constant e_bl_luminosity. | |||||||||
int | e_bl_multiply | The Constant e_bl_multiply. | |||||||||
int | e_bl_normal | The Constant e_bl_normal. | |||||||||
int | e_bl_overlay | The Constant e_bl_overlay. | |||||||||
int | e_bl_saturation | The Constant e_bl_saturation. | |||||||||
int | e_bl_screen | The Constant e_bl_screen. | |||||||||
int | e_bl_soft_light | The Constant e_bl_soft_light. | |||||||||
int | e_blend_mode | The Constant e_blend_mode. | |||||||||
int | e_butt_cap | The Constant e_butt_cap. | |||||||||
int | e_char_spacing | The Constant e_char_spacing. | |||||||||
int | e_clip_text | The Constant e_clip_text. | |||||||||
int | e_dash_pattern | The Constant e_dash_pattern. | |||||||||
int | e_fill_clip_text | The Constant e_fill_clip_text. | |||||||||
int | e_fill_color | The Constant e_fill_color. | |||||||||
int | e_fill_cs | The Constant e_fill_cs. | |||||||||
int | e_fill_overprint | The Constant e_fill_overprint. | |||||||||
int | e_fill_stroke_clip_text | The Constant e_fill_stroke_clip_text. | |||||||||
int | e_fill_stroke_text | The Constant e_fill_stroke_text. | |||||||||
int | e_fill_text | The Constant e_fill_text. | |||||||||
int | e_flatness | The Constant e_flatness. | |||||||||
int | e_font | The Constant e_font. | |||||||||
int | e_font_size | The Constant e_font_size. | |||||||||
int | e_halftone | The Constant e_halftone. | |||||||||
int | e_horizontal_scale | The Constant e_horizontal_scale. | |||||||||
int | e_invisible_text | The Constant e_invisible_text. | |||||||||
int | e_leading | The Constant e_leading. | |||||||||
int | e_line_cap | The Constant e_line_cap. | |||||||||
int | e_line_join | The Constant e_line_join. | |||||||||
int | e_line_width | The Constant e_line_width. | |||||||||
int | e_miter_join | The Constant e_miter_join. | |||||||||
int | e_miter_limit | The Constant e_miter_limit. | |||||||||
int | e_null | The Constant e_null. | |||||||||
int | e_opacity_fill | The Constant e_opacity_fill. | |||||||||
int | e_opacity_stroke | The Constant e_opacity_stroke. | |||||||||
int | e_overprint_mode | The Constant e_overprint_mode. | |||||||||
int | e_perceptual | The Constant e_perceptual. | |||||||||
int | e_relative_colorimetric | The Constant e_relative_colorimetric. | |||||||||
int | e_rendering_intent | The Constant e_rendering_intent. | |||||||||
int | e_round_cap | The Constant e_round_cap. | |||||||||
int | e_round_join | The Constant e_round_join. | |||||||||
int | e_saturation | The Constant e_saturation. | |||||||||
int | e_smoothnes | The Constant e_smoothnes. | |||||||||
int | e_soft_mask | The Constant e_soft_mask. | |||||||||
int | e_square_cap | The Constant e_square_cap. | |||||||||
int | e_stroke_clip_text | The Constant e_stroke_clip_text. | |||||||||
int | e_stroke_color | The Constant e_stroke_color. | |||||||||
int | e_stroke_cs | The Constant e_stroke_cs. | |||||||||
int | e_stroke_overprint | The Constant e_stroke_overprint. | |||||||||
int | e_stroke_text | The Constant e_stroke_text. | |||||||||
int | e_text_knockout | The Constant e_text_knockout. | |||||||||
int | e_text_pos_offset | The Constant e_text_pos_offset. | |||||||||
int | e_text_render_mode | The Constant e_text_render_mode. | |||||||||
int | e_text_rise | The Constant e_text_rise. | |||||||||
int | e_transfer_funct | The Constant e_transfer_funct. | |||||||||
int | e_transform | The Constant e_transform. | |||||||||
int | e_word_spacing | The Constant e_word_spacing. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PatternColor |
GetStrokePattern()
Get the stroke pattern.
| ||||||||||
void |
concat(Matrix2D mtx)
Concatenate the given matrix to the transformation matrix of this element.
| ||||||||||
void |
concat(double a, double b, double c, double d, double h, double v)
Concatenate the given matrix expressed in its values to the transformation
matrix of this element.
| ||||||||||
boolean |
getAISFlag()
Get the alpha source flag.
| ||||||||||
boolean |
getAutoStrokeAdjust()
Get the auto stroke adjust.
| ||||||||||
Obj |
getBlackGenFunct()
Get the black generation function
| ||||||||||
int |
getBlendMode()
Get the blend mode.
| ||||||||||
double |
getCharSpacing()
Get the char spacing.
| ||||||||||
double[] |
getDashes()
Get the dashes.
| ||||||||||
ColorPt |
getFillColor()
Get the fill color.
| ||||||||||
ColorSpace |
getFillColorSpace()
Get the fill color space.
| ||||||||||
double |
getFillOpacity()
Get the fill opacity.
| ||||||||||
boolean |
getFillOverprint()
Get the fill overprint.
| ||||||||||
PatternColor |
getFillPattern()
Get the fill pattern.
| ||||||||||
double |
getFlatness()
Get the flatness.
| ||||||||||
Font |
getFont()
Get the font.
| ||||||||||
double |
getFontSize()
Get the font size.
| ||||||||||
Obj |
getHalftone()
Get the halftone.
| ||||||||||
double |
getHorizontalScale()
Get the horizontal scale.
| ||||||||||
double |
getLeading()
Get the leading parameter.
| ||||||||||
int |
getLineCap()
Get the line cap.
| ||||||||||
int |
getLineJoin()
Get the line join.
| ||||||||||
double |
getLineWidth()
Get the line width.
| ||||||||||
double |
getMiterLimit()
Get the miter limit.
| ||||||||||
int |
getOverprintMode()
Get the overprint mode.
| ||||||||||
double |
getPhase()
Get the phase.
| ||||||||||
int |
getRenderingIntent()
Get the rendering intent.
| ||||||||||
double |
getSmoothnessTolerance()
Get the smoothness tolerance.
| ||||||||||
Obj |
getSoftMask()
Get the soft mask.
| ||||||||||
Matrix2D |
getSoftMaskTransform()
Get the soft mask transform.
| ||||||||||
ColorPt |
getStrokeColor()
Get the stroke color.
| ||||||||||
ColorSpace |
getStrokeColorSpace()
Get the stroke color space.
| ||||||||||
double |
getStrokeOpacity()
Get the stroke opacity.
| ||||||||||
boolean |
getStrokeOverprint()
Get the stroke overprint.
| ||||||||||
int |
getTextRenderMode()
Get the text render mode.
| ||||||||||
double |
getTextRise()
Get the text rise.
| ||||||||||
Obj |
getTransferFunct()
Get the transfer funct.
| ||||||||||
Matrix2D |
getTransform()
Get the transform.
| ||||||||||
Obj |
getUCRFunct()
Get the undercolor-removal function
| ||||||||||
double |
getWordSpacing()
Get the word spacing.
| ||||||||||
boolean |
isTextKnockout()
Checks if is text knockout.
| ||||||||||
void |
setAISFlag(boolean AIS)
Specifies if the alpha is to be interpreted as a shape or opacity mask.
| ||||||||||
void |
setAutoStrokeAdjust(boolean SA)
Specify whether to apply automatic stroke adjustment.
| ||||||||||
void |
setBlackGenFunct(Obj BG)
Set black-generation function used during conversion between DeviceRGB
and DeviceCMYK.
| ||||||||||
void |
setBlendMode(int BM)
Set the current blend mode to be used in the transparent imaging model.
| ||||||||||
void |
setCharSpacing(double char_spacing)
Set character spacing.
| ||||||||||
void |
setDashPattern(double[] dash_array, double phase)
Set the dash pattern used to stroke paths.
| ||||||||||
void |
setFillColor(PatternColor pattern)
Set the fill color to the given tiling pattern.
| ||||||||||
void |
setFillColor(ColorPt c)
Set the color value/point used for filling operations.
| ||||||||||
void |
setFillColor(PatternColor pattern, ColorPt c)
Set the fill color to the given uncolored tiling pattern.
| ||||||||||
void |
setFillColorSpace(ColorSpace cs)
Set the color space used for filling operations.
| ||||||||||
void |
setFillOpacity(double ca)
Set the opacity value for painting operations other than stroking.
| ||||||||||
void |
setFillOverprint(boolean op)
Specifies if overprint is enabled for fill operations.
| ||||||||||
void |
setFlatness(double flatness)
Set the value of flatness tolerance.
| ||||||||||
void |
setFont(Font font, double font_sz)
Set the font and font size used to draw text.
| ||||||||||
void |
setHalftone(Obj HT)
Set the halftone.
| ||||||||||
void |
setHorizontalScale(double hscale)
Set horizontal scale.
| ||||||||||
void |
setLeading(double leading)
Set the leading parameter.
| ||||||||||
void |
setLineCap(int cap)
Set LineCap style property.
| ||||||||||
void |
setLineJoin(int join)
Set LineJoin style property.
| ||||||||||
void |
setLineWidth(double width)
Set the thickness of the line used to stroke a path.
| ||||||||||
void |
setMiterLimit(double miter_limit)
Set miter limit.
| ||||||||||
void |
setOverprintMode(int OPM)
Set the overprint mode.
| ||||||||||
void |
setRenderingIntent(int intent)
Set the color intent to be used for rendering the Element.
| ||||||||||
void |
setSmoothnessTolerance(double SM)
Set the smoothness tolerance used to control the quality of smooth
shading.
| ||||||||||
void |
setSoftMask(Obj SM)
Set the soft mask of the extended graphics state.
| ||||||||||
void |
setStrokeColor(ColorPt c)
Set the color value/point used for stroking operations.
| ||||||||||
void |
setStrokeColor(PatternColor pattern)
Set the stroke color to the given tiling pattern.
| ||||||||||
void |
setStrokeColor(PatternColor pattern, ColorPt c)
Set the stroke color to the given uncolored tiling pattern.
| ||||||||||
void |
setStrokeColorSpace(ColorSpace cs)
Set the color space used for stroking operations.
| ||||||||||
void |
setStrokeOpacity(double CA)
Set opacity value for stroke painting operations for paths and glyph outlines.
| ||||||||||
void |
setStrokeOverprint(boolean OP)
Specifies if overprint is enabled for stroke operations.
| ||||||||||
void |
setTextKnockout(boolean knockout)
Mark the object as elementary for purposes of color compositing in the
transparent imaging model.
| ||||||||||
void |
setTextRenderMode(int rmode)
Set text rendering mode.
| ||||||||||
void |
setTextRise(double rise)
Set text rise.
| ||||||||||
void |
setTransferFunct(Obj TR)
Set transfer function used during color conversion process.
| ||||||||||
void |
setTransform(double a, double b, double c, double d, double h, double v)
Set the transformation matrix for this element.
| ||||||||||
void |
setTransform(Matrix2D mtx)
Set the transformation matrix associated with this element.
| ||||||||||
void |
setUCRFunct(Obj UCR)
Set undercolor-removal function used during conversion between DeviceRGB
and DeviceCMYK.
| ||||||||||
void |
setWordSpacing(double word_spacing)
Set word spacing.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The Constant e_BG_funct.
The Constant e_UCR_funct.
The Constant e_absolute_colorimetric.
The Constant e_alpha_is_shape.
The Constant e_auto_stoke_adjust.
The Constant e_bevel_join.
The Constant e_bl_color.
The Constant e_bl_color_burn.
The Constant e_bl_color_dodge.
The Constant e_bl_compatible.
The Constant e_bl_darken.
The Constant e_bl_difference.
The Constant e_bl_exclusion.
The Constant e_bl_hard_light.
The Constant e_bl_hue.
The Constant e_bl_lighten.
The Constant e_bl_luminosity.
The Constant e_bl_multiply.
The Constant e_bl_normal.
The Constant e_bl_overlay.
The Constant e_bl_saturation.
The Constant e_bl_screen.
The Constant e_bl_soft_light.
The Constant e_blend_mode.
The Constant e_butt_cap.
The Constant e_char_spacing.
The Constant e_clip_text.
The Constant e_dash_pattern.
The Constant e_fill_clip_text.
The Constant e_fill_color.
The Constant e_fill_cs.
The Constant e_fill_overprint.
The Constant e_fill_stroke_clip_text.
The Constant e_fill_stroke_text.
The Constant e_fill_text.
The Constant e_flatness.
The Constant e_font.
The Constant e_font_size.
The Constant e_halftone.
The Constant e_horizontal_scale.
The Constant e_invisible_text.
The Constant e_leading.
The Constant e_line_cap.
The Constant e_line_join.
The Constant e_line_width.
The Constant e_miter_join.
The Constant e_miter_limit.
The Constant e_null.
The Constant e_opacity_fill.
The Constant e_opacity_stroke.
The Constant e_overprint_mode.
The Constant e_perceptual.
The Constant e_relative_colorimetric.
The Constant e_rendering_intent.
The Constant e_round_cap.
The Constant e_round_join.
The Constant e_saturation.
The Constant e_smoothnes.
The Constant e_soft_mask.
The Constant e_square_cap.
The Constant e_stroke_clip_text.
The Constant e_stroke_color.
The Constant e_stroke_cs.
The Constant e_stroke_overprint.
The Constant e_stroke_text.
The Constant e_text_knockout.
The Constant e_text_pos_offset.
The Constant e_text_render_mode.
The Constant e_text_rise.
The Constant e_transfer_funct.
The Constant e_transform.
The Constant e_word_spacing.
Get the stroke pattern.
PDFNetException |
---|
Concatenate the given matrix to the transformation matrix of this element.
mtx | the mtx |
---|
PDFNetException |
---|
Concatenate the given matrix expressed in its values to the transformation matrix of this element.
a | - horizontal 'scaling' component of the new text matrix. |
---|---|
b | - 'rotation' component of the new text matrix. |
c | - 'rotation' component of the new text matrix. |
d | - vertical 'scaling' component of the new text matrix. |
h | - horizontal translation component of the new text matrix. |
v | - vertical translation component of the new text matrix. |
PDFNetException |
---|
Get the alpha source flag.
PDFNetException |
---|
Get the auto stroke adjust.
PDFNetException |
---|
Get the black generation function
PDFNetException |
---|
Get the blend mode.
PDFNetException |
---|
Get the char spacing.
PDFNetException |
---|
Get the dashes.
PDFNetException |
---|
Get the fill color.
PDFNetException |
---|
Get the fill opacity.
PDFNetException |
---|
Get the fill overprint.
PDFNetException |
---|
Get the fill pattern.
PDFNetException |
---|
Get the flatness.
PDFNetException |
---|
Get the halftone.
PDFNetException |
---|
Get the horizontal scale.
PDFNetException |
---|
Get the leading parameter.
PDFNetException |
---|
Get the line cap.
PDFNetException |
---|
Get the line join.
PDFNetException |
---|
Get the line width.
Note: A line width of 0 denotes the thinnest line that can be rendered at device resolution: 1 device pixel wide.
PDFNetException |
---|
Get the miter limit.
PDFNetException |
---|
Get the overprint mode.
PDFNetException |
---|
Get the phase.
PDFNetException |
---|
Get the rendering intent.
PDFNetException |
---|
Get the smoothness tolerance.
PDFNetException |
---|
Get the soft mask.
PDFNetException |
---|
Get the soft mask transform.
PDFNetException |
---|
Get the stroke color.
PDFNetException |
---|
Get the stroke opacity.
PDFNetException |
---|
Get the stroke overprint.
PDFNetException |
---|
Get the text render mode.
PDFNetException |
---|
Get the text rise.
PDFNetException |
---|
Get the transfer funct.
PDFNetException |
---|
Get the transform.
Note: If you are looking for a matrix that maps coordinates to the initial user space see Element::GetCTM().
PDFNetException |
---|
Get the undercolor-removal function
PDFNetException |
---|
Get the word spacing.
PDFNetException |
---|
Checks if is text knockout.
PDFNetException |
---|
Specifies if the alpha is to be interpreted as a shape or opacity mask. The alpha source flag ('alpha is shape'), specifies whether the current soft mask and alpha constant are to be interpreted as shape values (true) or opacity values (false).
AIS | the new AIS flag |
---|
PDFNetException |
---|
Specify whether to apply automatic stroke adjustment. Corresponds to the /SA key within the ExtGState's dictionary.
SA | the new auto stroke adjust |
---|
PDFNetException |
---|
Set black-generation function used during conversion between DeviceRGB and DeviceCMYK. Corresponds to the /BG key within the ExtGState's dictionary.
BG | - SDF/Cos black-generation function or name |
---|
PDFNetException |
---|
Set the current blend mode to be used in the transparent imaging model. Corresponds to the /BM key within the ExtGState's dictionary.
BM | - New blending mode type. |
---|
PDFNetException | gs.this.setBlendMode(e_bl_lighten);
|
---|
Set character spacing.
char_spacing | a number specified in unscaled text space units. When the glyph for each character in the string is rendered, the character spacing is added to the horizontal or vertical component of the glyph's displacement, depending on the writing mode. See Section 5.2.1 in PDF Reference Manual for details. |
---|
PDFNetException |
---|
Set the dash pattern used to stroke paths. The line dash pattern controls the pattern of dashes and gaps used to stroke paths. It is specified by a dash array and a dash phase.
Note: The elements of both the dash array and the dash phase are expressed in user space units.
dash_array | an array of numbers that specify the lengths of alternating dashes and gaps |
---|---|
phase | dash phase specifies the distance into the dash pattern at which to start the dash. |
PDFNetException |
---|
Set the fill color to the given tiling pattern.
Note: The currently selected fill color space must be Pattern color space.
pattern | SDF pattern object. |
---|
PDFNetException |
---|
Set the color value/point used for filling operations. The color value must be represented in the currently selected color space used for filling.
c | the new fill color |
---|
PDFNetException |
---|
Set the fill color to the given uncolored tiling pattern.
Note: The currently selected fill color space must be Pattern color space.
pattern | the pattern |
---|---|
c | is a color in the pattern's underlying color space. |
PDFNetException |
---|
Set the color space used for filling operations.
cs | the new fill color space |
---|
PDFNetException |
---|
Set the opacity value for painting operations other than stroking. Corresponds to the value of the /ca key in the ExtGState dictionary.
ca | the new fill opacity |
---|
PDFNetException |
---|
Specifies if overprint is enabled for fill operations. Corresponds to the /op key within the ExtGState's dictionary.
op | the new fill overprint |
---|
PDFNetException |
---|
Set the value of flatness tolerance.
flatness | is a number in the range 0 to 100; a value of 0 specifies the output device's default flatness tolerance. The flatness tolerance controls the maximum permitted distance in device pixels between the mathematically correct path and an approximation constructed from straight line segments. |
---|
PDFNetException |
---|
Set the font and font size used to draw text.
font | font to use |
---|---|
font_sz | font size |
PDFNetException |
---|
Set the halftone.
HT | - SDF/Cos halftone dictionary, stream, or name |
---|
PDFNetException |
---|
Set horizontal scale. The horizontal scaling parameter adjusts the width of glyphs by stretching or compressing them in the horizontal direction. Its value is specified as a percentage of the normal width of the glyphs, with 100 being the normal width. The scaling always applies to the horizontal coordinate in text space, independently of the writing mode. See Section 5.2.3 in PDF Reference Manual for details.
hscale | the new horizontal scale |
---|
PDFNetException |
---|
Set the leading parameter. The leading parameter is measured in unscaled text space units. It specifies the vertical distance between the baselines of adjacent lines of text. See Section 5.2.4 in PDF Reference Manual for details.
leading | the new leading |
---|
PDFNetException |
---|
Set LineCap style property. The line cap style specifies the shape to be used at the ends of open subpaths (and dashes, if any) when they are stroked.
cap | the new line cap |
---|
PDFNetException |
---|
Set LineJoin style property. The line join style specifies the shape to be used at the corners of paths that are stroked.
join | the new line join |
---|
PDFNetException |
---|
Set the thickness of the line used to stroke a path.
width | a non-negative number expressed in user space units. A line width of 0 denotes the thinnest line that can be rendered at device resolution: 1 device pixel wide. |
---|
PDFNetException |
---|
Set miter limit.
miter_limit | A number that imposes a maximum on the ratio of the miter length to the line width. When the limit is exceeded, the join is converted from a miter to a bevel. |
---|
PDFNetException |
---|
Set the overprint mode. Corresponds to the /OPM key within the ExtGState's dictionary.
OPM | the new overprint mode |
---|
PDFNetException |
---|
Set the color intent to be used for rendering the Element.
intent | the new rendering intent |
---|
PDFNetException |
---|
Set the smoothness tolerance used to control the quality of smooth shading. Corresponds to the /SM key within the ExtGState's dictionary.
SM | the new smoothness tolerance |
---|
PDFNetException |
---|
Set the soft mask of the extended graphics state. Corresponds to the /SMask key within the ExtGState's dictionary.
SM | the new soft mask |
---|
PDFNetException |
---|
Set the color value/point used for stroking operations. The color value must be represented in the currently selected color space used for stroking.
c | the new stroke color |
---|
PDFNetException |
---|
Set the stroke color to the given tiling pattern.
Note: The currently selected stroke color space must be Pattern color space.
pattern | SDF pattern object. |
---|
PDFNetException |
---|
Set the stroke color to the given uncolored tiling pattern.
Note: The currently selected stroke color space must be Pattern color space.
pattern | the pattern |
---|---|
c | is a color in the pattern's underlying color space. |
PDFNetException |
---|
Set the color space used for stroking operations.
cs | the new stroke color space |
---|
PDFNetException |
---|
Set opacity value for stroke painting operations for paths and glyph outlines. Corresponds to the value of the /CA key in the ExtGState dictionary.
CA | the new stroke opacity |
---|
PDFNetException |
---|
Specifies if overprint is enabled for stroke operations. Corresponds to the /OP key within the ExtGState's dictionary.
OP | the new stroke overprint |
---|
PDFNetException |
---|
Mark the object as elementary for purposes of color compositing in the transparent imaging model.
knockout | the new text knockout |
---|
PDFNetException |
---|
Set text rendering mode. The text rendering mode determines whether showing text causes glyph outlines to be stroked, filled, used as a clipping boundary, or some combination of the three. See Section 5.2.5 in PDF Reference Manual for details..
rmode | the new text render mode |
---|
PDFNetException |
---|
Set text rise. Text rise specifies the distance, in unscaled text space units, to move the baseline up or down from its default location. Positive values of text rise move the baseline up
rise | the new text rise |
---|
PDFNetException |
---|
Set transfer function used during color conversion process. A transfer function adjusts the values of color components to compensate for nonlinear response in an output device and in the human eye. Corresponds to the /TR key within the ExtGState's dictionary.
TR | - SDF/Cos transfer function, array, or name |
---|
PDFNetException |
---|
Set the transformation matrix for this element. This method accepts text transformation matrix components directly. A transformation matrix in PDF is specified by six numbers, usually in the form of an array containing six elements. In its most general form, this array is denoted [a b c d h v]; it can represent any linear transformation from one coordinate system to another. For more information about PDF matrices please refer to section 4.2.2 'Common Transformations' in PDF Reference Manual, and to documentation for pdftron::Common::Matrix2D class.
a | - horizontal 'scaling' component of the new text matrix. |
---|---|
b | - 'rotation' component of the new text matrix. |
c | - 'rotation' component of the new text matrix. |
d | - vertical 'scaling' component of the new text matrix. |
h | - horizontal translation component of the new text matrix. |
v | - vertical translation component of the new text matrix. |
PDFNetException |
---|
Set the transformation matrix associated with this element.
Note: in PDF associating a transformation matrix with an element ('cm' operator) will also affect all subsequent elements.
mtx | The new transformation for this text element. |
---|
PDFNetException |
---|
Set undercolor-removal function used during conversion between DeviceRGB and DeviceCMYK. Corresponds to the /UCR key within the ExtGState's dictionary.
UCR | - SDF/Cos undercolor-removal function or name |
---|
PDFNetException |
---|
Set word spacing.
word_spacing | - a number specified in unscaled text space units. Word spacing works the same way as character spacing, but applies only to the space character (char code 32). See Section 5.2.2 in PDF Reference Manual for details. |
---|
PDFNetException |
---|