public static enum Img.Direction extends Enum<Img.Direction>
The direction used to process image
| Enum Constant and Description |
|---|
HORIZONTAL |
VERTICAL |
| Modifier and Type | Method and Description |
|---|---|
N.WH |
concatenate(N.Dimension d1,
N.Dimension d2) |
void |
drawImage(Graphics2D g,
BufferedImage source1,
BufferedImage source2) |
boolean |
isHorizontal() |
boolean |
isVertical() |
static Img.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Img.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Img.Direction HORIZONTAL
public static final Img.Direction VERTICAL
public static Img.Direction[] values()
for (Img.Direction c : Img.Direction.values()) System.out.println(c);
public static Img.Direction 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 boolean isHorizontal()
public boolean isVertical()
public N.WH concatenate(N.Dimension d1, N.Dimension d2)
public void drawImage(Graphics2D g, BufferedImage source1, BufferedImage source2)
Copyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.