Package com.itextpdf.kernel.pdf.canvas
Class PdfCanvasConstants.TextRenderingMode
java.lang.Object
com.itextpdf.kernel.pdf.canvas.PdfCanvasConstants.TextRenderingMode
- Enclosing class:
- PdfCanvasConstants
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. Stroking, filling, and clipping have the same effects for a text object as they do for a path object, although they are specified in an entirely different way. If the text rendering mode calls for filling, the current nonstroking color in the graphics state is used; if it calls for stroking, the current stroking color is used. All documentation for this class is taken from ISO 32000-1, section 9.3.6 "Text Rendering Mode".
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Add text to path for clippingstatic final int
Fill textstatic final int
Fill text and add to path for clippingstatic final int
Fill and stroke textstatic final int
Fill, then stroke text and add to path for clippingstatic final int
Neither fill nor stroke, i.e.static final int
Stroke text, providing the outline of the glyphsstatic final int
Stroke text and add to path for clipping -
Method Summary
-
Field Details
-
FILL
public static final int FILLFill text- See Also:
-
STROKE
public static final int STROKEStroke text, providing the outline of the glyphs- See Also:
-
FILL_STROKE
public static final int FILL_STROKEFill and stroke text- See Also:
-
INVISIBLE
public static final int INVISIBLENeither fill nor stroke, i.e. render invisibly- See Also:
-
FILL_CLIP
public static final int FILL_CLIPFill text and add to path for clipping- See Also:
-
STROKE_CLIP
public static final int STROKE_CLIPStroke text and add to path for clipping- See Also:
-
FILL_STROKE_CLIP
public static final int FILL_STROKE_CLIPFill, then stroke text and add to path for clipping- See Also:
-
CLIP
public static final int CLIPAdd text to path for clipping- See Also:
-