TextRenderingMode
Inheritance: java.lang.Object, java.lang.Enum < TextRenderingMode > com.aspose.pdf.TextRenderingMode, java.lang.Enum < TextRenderingMode >, com.aspose.pdf.TextRenderingMode
All Implemented Interfaces: Serializable, Comparable < TextRenderingMode >
public enum TextRenderingMode extends Enum < TextRenderingMode >
The text rendering mode, Tmode, determines whether showing text shall cause glyph outlines to be stroked, filled, used as a clipping boundary, or some combination of the three.
Fields
| Field | Description |
|---|---|
| AddPathToClipping | Add text to path for clipping. |
| FillText | Fill text. |
| FillTextAndAddPathToClipping | Fill text and add to path for clipping (see 9.3.6, “Text Rendering Mode,”). |
| FillThenStrokeText | Fill, then stroke text. |
| FillThenStrokeTextAndAddPathToClipping | Fill, then stroke text and add to path for clipping. |
| Invisible | Neither fill nor stroke text (invisible). |
| StrokeText | Stroke text. |
| StrokeTextAndAddPathToClipping | Stroke text and add to path for clipping. |
Methods
| Method | Description |
|---|---|
| getValue | |
| valueOf | |
| valueOf | Returns the enum constant of this type with the specified name. |
| values | Returns an array containing the constants of this enum type, in the order they are declared. |
AddPathToClipping
public static final TextRenderingMode AddPathToClipping
Add text to path for clipping.
FillText
public static final TextRenderingMode FillText
Fill text.
FillTextAndAddPathToClipping
public static final TextRenderingMode FillTextAndAddPathToClipping
Fill text and add to path for clipping (see 9.3.6, “Text Rendering Mode,”).
FillThenStrokeText
public static final TextRenderingMode FillThenStrokeText
Fill, then stroke text.
FillThenStrokeTextAndAddPathToClipping
public static final TextRenderingMode FillThenStrokeTextAndAddPathToClipping
Fill, then stroke text and add to path for clipping.
Invisible
public static final TextRenderingMode Invisible
Neither fill nor stroke text (invisible).
StrokeText
public static final TextRenderingMode StrokeText
Stroke text.
StrokeTextAndAddPathToClipping
public static final TextRenderingMode StrokeTextAndAddPathToClipping
Stroke text and add to path for clipping.
getValue
public int getValue()
valueOf
public static TextRenderingMode valueOf(int value)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value |
valueOf
Returns the enum constant of this type with the specified name.
values
public static TextRenderingMode [] values()
Returns an array containing the constants of this enum type, in the order they are declared.
Returns: an array containing the constants of this enum type, in the order they are declared