public enum TextRenderingMode extends Enum<TextRenderingMode>
This enum contains possible values for text rendering mode.
Enum Constant and Description |
---|
Fill
Fill a text.
|
FillAndStroke
Fill and stroke a text.
|
No
Neither fill nor stroke a text.
|
Stroke
Stroke a text.
|
Modifier and Type | Method and Description |
---|---|
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 Fill
Fill a text.
public static final TextRenderingMode Stroke
Stroke a text.
public static final TextRenderingMode FillAndStroke
Fill and stroke a text.
public static final TextRenderingMode No
Neither fill nor stroke a text.
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 nullCopyright © 2021 Aspose. All Rights Reserved.