Click or drag to resize

TextRenderingModes Enumeration

Represents the text rendering mode, Tmode, determines whether showing text causes glyph outlines to be stroked, filled, used as a clipping boundary, or some combination of the three.

Namespace:  Patagames.Pdf.Enums
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.57.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.57.2704
public enum TextRenderingModes
  Member nameValueDescription
Fill0 Fill text.
Stroke1 Stroke text.
FillThenStroke2 Fill, then stroke text.
Nothing3 Neither fill nor stroke text (invisible).
FillClip4 Fill text and add to path for clipping.
StrokeClip5 Stroke text and add to path for clipping.
FillThenStrokeClip6 Fill, then stroke text and add to path for clipping.
Clipping7 Add text to path for clipping.

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. The graphics state parameters affecting those operations, such as line width, are interpreted in user space rather than in text space.

Note Note
The text rendering mode has no effect on text displayed in a Type 3 font.
See Also