public enum RenderingMode extends java.lang.Enum<RenderingMode>
Enum Constant | Description |
---|---|
FILL |
Fill text.
|
FILL_CLIP |
Fill text and add to path for clipping.
|
FILL_STROKE |
Fill, then stroke text.
|
FILL_STROKE_CLIP |
Fill, then stroke text and add to path for clipping.
|
NEITHER |
Neither fill nor stroke text (invisible)
|
NEITHER_CLIP |
Add text to path for clipping.
|
STROKE |
Stroke text.
|
STROKE_CLIP |
Stroke text and add to path for clipping.
|
Modifier and Type | Method | Description |
---|---|---|
static RenderingMode |
fromInt(int value) |
|
int |
intValue() |
Returns the integer value of this mode, as used in a PDF file.
|
boolean |
isClip() |
Returns true is this mode clips text.
|
boolean |
isFill() |
Returns true is this mode fills text.
|
boolean |
isStroke() |
Returns true is this mode strokes text.
|
static RenderingMode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static RenderingMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderingMode FILL
public static final RenderingMode STROKE
public static final RenderingMode FILL_STROKE
public static final RenderingMode NEITHER
public static final RenderingMode FILL_CLIP
public static final RenderingMode STROKE_CLIP
public static final RenderingMode FILL_STROKE_CLIP
public static final RenderingMode NEITHER_CLIP
public static RenderingMode[] values()
for (RenderingMode c : RenderingMode.values()) System.out.println(c);
public static RenderingMode 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 nullpublic static RenderingMode fromInt(int value)
public int intValue()
public boolean isFill()
public boolean isStroke()
public boolean isClip()
Copyright © 2002–2018. All rights reserved.