public enum RenderingMode extends Enum<RenderingMode>
Enum Constant and 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 and 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(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(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 static RenderingMode fromInt(int value)
public int intValue()
public boolean isFill()
public boolean isStroke()
public boolean isClip()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.