public enum PCLRenderingMode extends 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.
|
String |
getName() |
static PCLRenderingMode |
getValueOf(String name)
Returns the enumeration/singleton object based on its name.
|
String |
toString() |
static PCLRenderingMode |
valueOf(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(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 String getName()
public float getDefaultDitheringQuality()
public static PCLRenderingMode getValueOf(String name)
name
- the name of the enumeration valuepublic String toString()
toString
in class Enum<PCLRenderingMode>
Copyright © 2025 Apache Software Foundation. All rights reserved.