com.lowagie.text.pdf

Class PdfGState

public class PdfGState extends PdfDictionary

The graphic state dictionary.

Author: Paulo Soares (psoares@consiste.pt)

Field Summary
static PdfNameBM_COLORBURN
A possible blend mode
static PdfNameBM_COLORDODGE
A possible blend mode
static PdfNameBM_COMPATIBLE
A possible blend mode
static PdfNameBM_DARKEN
A possible blend mode
static PdfNameBM_DIFFERENCE
A possible blend mode
static PdfNameBM_EXCLUSION
A possible blend mode
static PdfNameBM_HARDLIGHT
A possible blend mode
static PdfNameBM_LIGHTEN
A possible blend mode
static PdfNameBM_MULTIPLY
A possible blend mode
static PdfNameBM_NORMAL
A possible blend mode
static PdfNameBM_OVERLAY
A possible blend mode
static PdfNameBM_SCREEN
A possible blend mode
static PdfNameBM_SOFTLIGHT
A possible blend mode
Method Summary
voidsetAlphaIsShape(boolean v)
The alpha source flag specifying whether the current soft mask and alpha constant are to be interpreted as shape values (true) or opacity values (false).
voidsetBlendMode(PdfName bm)
The current blend mode to be used in the transparent imaging model.
voidsetFillOpacity(float n)
Sets the current stroking alpha constant, specifying the constant shape or constant opacity value to be used for nonstroking operations in the transparent imaging model.
voidsetOverPrintMode(int ov)
Sets the flag whether to toggle knockout behavior for overprinted objects.
voidsetOverPrintNonStroking(boolean ov)
Sets the flag whether to apply overprint for non stroking painting operations.
voidsetOverPrintStroking(boolean ov)
Sets the flag whether to apply overprint for stroking.
voidsetStrokeOpacity(float n)
Sets the current stroking alpha constant, specifying the constant shape or constant opacity value to be used for stroking operations in the transparent imaging model.
voidsetTextKnockout(boolean v)
Determines the behavior of overlapping glyphs within a text object in the transparent imaging model.

Field Detail

BM_COLORBURN

public static final PdfName BM_COLORBURN
A possible blend mode

BM_COLORDODGE

public static final PdfName BM_COLORDODGE
A possible blend mode

BM_COMPATIBLE

public static final PdfName BM_COMPATIBLE
A possible blend mode

BM_DARKEN

public static final PdfName BM_DARKEN
A possible blend mode

BM_DIFFERENCE

public static final PdfName BM_DIFFERENCE
A possible blend mode

BM_EXCLUSION

public static final PdfName BM_EXCLUSION
A possible blend mode

BM_HARDLIGHT

public static final PdfName BM_HARDLIGHT
A possible blend mode

BM_LIGHTEN

public static final PdfName BM_LIGHTEN
A possible blend mode

BM_MULTIPLY

public static final PdfName BM_MULTIPLY
A possible blend mode

BM_NORMAL

public static final PdfName BM_NORMAL
A possible blend mode

BM_OVERLAY

public static final PdfName BM_OVERLAY
A possible blend mode

BM_SCREEN

public static final PdfName BM_SCREEN
A possible blend mode

BM_SOFTLIGHT

public static final PdfName BM_SOFTLIGHT
A possible blend mode

Method Detail

setAlphaIsShape

public void setAlphaIsShape(boolean v)
The alpha source flag specifying whether the current soft mask and alpha constant are to be interpreted as shape values (true) or opacity values (false).

Parameters: v

setBlendMode

public void setBlendMode(PdfName bm)
The current blend mode to be used in the transparent imaging model.

Parameters: bm

setFillOpacity

public void setFillOpacity(float n)
Sets the current stroking alpha constant, specifying the constant shape or constant opacity value to be used for nonstroking operations in the transparent imaging model.

Parameters: n

setOverPrintMode

public void setOverPrintMode(int ov)
Sets the flag whether to toggle knockout behavior for overprinted objects.

Parameters: ov - accepts 0 or 1

setOverPrintNonStroking

public void setOverPrintNonStroking(boolean ov)
Sets the flag whether to apply overprint for non stroking painting operations.

Parameters: ov

setOverPrintStroking

public void setOverPrintStroking(boolean ov)
Sets the flag whether to apply overprint for stroking.

Parameters: ov

setStrokeOpacity

public void setStrokeOpacity(float n)
Sets the current stroking alpha constant, specifying the constant shape or constant opacity value to be used for stroking operations in the transparent imaging model.

Parameters: n

setTextKnockout

public void setTextKnockout(boolean v)
Determines the behavior of overlapping glyphs within a text object in the transparent imaging model.

Parameters: v