public static enum AbstractPainter.Interpolation extends Enum<AbstractPainter.Interpolation>
Enum Constant and Description |
---|
Bicubic
use bicubic interpolation
|
Bilinear
use bilinear interpolation
|
NearestNeighbor
use nearest neighbor interpolation
|
Modifier and Type | Method and Description |
---|---|
private void |
configureGraphics(Graphics2D g) |
static AbstractPainter.Interpolation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractPainter.Interpolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractPainter.Interpolation Bicubic
public static final AbstractPainter.Interpolation Bilinear
public static final AbstractPainter.Interpolation NearestNeighbor
public static AbstractPainter.Interpolation[] values()
for (AbstractPainter.Interpolation c : AbstractPainter.Interpolation.values()) System.out.println(c);
public static AbstractPainter.Interpolation 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 nullprivate void configureGraphics(Graphics2D g)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses