Enum text

TextRenderMode

Namespace: com::datalogics::PDFL

Description

Text rendering mode determines whether text shown will have glyph outlines stroked, filled, used as a clipping path boundary, or feature some combination of those three values.

Text may also be hidden (invisible).

Fill sets the color inside an object. Stroke sets the color of the line drawn around that object.

With a PDF file, clipping paths define closed shapes, lines, and boundaries for clip art or graphics, and they define filled areas within graphics. A clipping path can be used to edit a graphic design by removing part of the art, so that only the shapes outlined by the path appear. You could use a clipping path to remove the background in a photo or superimpose text on an image.

Values

FILL

Fill the text glyphs.

FILL_AND_ADD_TO_CLIP_PATH

Fill the text glyphs and add them to the clipping path.

FILL_THEN_STROKE

Fill the text glyphs, then stroke their outlines.

FILL_THEN_STROKE_AND_ADD_TO_CLIP_PATH

Fill the text glyphs, then stroke their outlines, and add them to the clipping path.

INVISIBLE

Invisible text: neither filled nor stroked.

INVISIBLE_ADD_TO_CLIP_PATH

Invisible text: neither filled nor stroked, but added to the clipping path.

STROKE

Stroke the outlines of the text glyphs.

STROKE_AND_ADD_TO_CLIP_PATH

Stroke the outlines of the text glyphs and add them to the clipping path.