public enum TextRenderMode extends java.lang.Enum<TextRenderMode>
Text may also be hidden (invisible).
Fill sets the color inside an object. Stroke sets the color of the line drawn around that object.
With a PDF file, clipping paths define closed shapes, lines, and boundaries for clip art or graphics, and they define filled areas within graphics. A clipping path can be used to edit a graphic design by removing part of the art, so that only the shapes outlined by the path appear. You could use a clipping path to remove the background in a photo or superimpose text on an image.
| Enum Constant and Description |
|---|
FILL |
FILL_AND_ADD_TO_CLIP_PATH |
FILL_THEN_STROKE |
FILL_THEN_STROKE_AND_ADD_TO_CLIP_PATH |
INVISIBLE |
INVISIBLE_ADD_TO_CLIP_PATH |
STROKE |
STROKE_AND_ADD_TO_CLIP_PATH |
| Modifier and Type | Method and Description |
|---|---|
static TextRenderMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextRenderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextRenderMode FILL
public static final TextRenderMode STROKE
public static final TextRenderMode FILL_THEN_STROKE
public static final TextRenderMode INVISIBLE
public static final TextRenderMode FILL_AND_ADD_TO_CLIP_PATH
public static final TextRenderMode STROKE_AND_ADD_TO_CLIP_PATH
public static final TextRenderMode FILL_THEN_STROKE_AND_ADD_TO_CLIP_PATH
public static final TextRenderMode INVISIBLE_ADD_TO_CLIP_PATH
public static TextRenderMode[] values()
for (TextRenderMode c : TextRenderMode.values()) System.out.println(c);
public static TextRenderMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null