public enum PCLRenderingMode extends java.lang.Enum<PCLRenderingMode>
Enum Constant and Description |
---|
BITMAP
"Bitmap" rendering (pages are painted entirely as bitmaps, maximum quality,
reduced performance)
|
QUALITY
"Quality" rendering (mixed native and bitmap for improved quality)
|
SPEED
"Speed" rendering (maximum speed with native rendering, reduced visual quality)
|
Modifier and Type | Method and Description |
---|---|
float |
getDefaultDitheringQuality()
Returns the default dithering quality for this rendering mode.
|
java.lang.String |
getName() |
static PCLRenderingMode |
getValueOf(java.lang.String name)
Returns the enumeration/singleton object based on its name.
|
java.lang.String |
toString() |
static PCLRenderingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PCLRenderingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PCLRenderingMode QUALITY
public static final PCLRenderingMode SPEED
public static final PCLRenderingMode BITMAP
public static PCLRenderingMode[] values()
for (PCLRenderingMode c : PCLRenderingMode.values()) System.out.println(c);
public static PCLRenderingMode 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 java.lang.String getName()
public float getDefaultDitheringQuality()
public static PCLRenderingMode getValueOf(java.lang.String name)
name
- the name of the enumeration valuepublic java.lang.String toString()
toString
in class java.lang.Enum<PCLRenderingMode>
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.