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.
| Enum Constant and 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static TextRenderingMode |
valueOf(int value) |
static TextRenderingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextRenderingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextRenderingMode FillText
Fill text.
public static final TextRenderingMode StrokeText
Stroke text.
public static final TextRenderingMode FillThenStrokeText
Fill, then stroke text.
public static final TextRenderingMode Invisible
Neither fill nor stroke text (invisible).
public static final TextRenderingMode FillTextAndAddPathToClipping
Fill text and add to path for clipping (see 9.3.6, "Text Rendering Mode,").
public static final TextRenderingMode StrokeTextAndAddPathToClipping
Stroke text and add to path for clipping.
public static final TextRenderingMode FillThenStrokeTextAndAddPathToClipping
Fill, then stroke text and add to path for clipping.
public static final TextRenderingMode AddPathToClipping
Add text to path for clipping.
public static TextRenderingMode[] values()
for (TextRenderingMode c : TextRenderingMode.values()) System.out.println(c);
public static TextRenderingMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public static TextRenderingMode valueOf(int value)
Copyright © 2025 Aspose. All Rights Reserved.