 | 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.84.2704
Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.84.2704
Syntaxpublic enum TextRenderingModes
Public Enumeration TextRenderingModes
public enum class TextRenderingModes
public enum TextRenderingModes
Patagames.Pdf.Enums.TextRenderingModes = function();
Patagames.Pdf.Enums.TextRenderingModes.createEnum('Patagames.Pdf.Enums.TextRenderingModes', false);
Members
| Member name | Value | Description |
---|
| Fill | 0 |
Fill text.
|
| Stroke | 1 |
Stroke text.
|
| FillThenStroke | 2 |
Fill, then stroke text.
|
| Nothing | 3 |
Neither fill nor stroke text (invisible).
|
| FillClip | 4 |
Fill text and add to path for clipping.
|
| StrokeClip | 5 |
Stroke text and add to path for clipping.
|
| FillThenStrokeClip | 6 |
Fill, then stroke text and add to path for clipping.
|
| Clipping | 7 |
Add text to path for clipping.
|
Remarks
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 |
---|
The text rendering mode has no effect on text displayed in a Type 3 font. |
See Also