public final class PadMode
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private int |
mode
The pad mode for this object.
|
static int |
MODE_REPLICATE
Pad edges by replicating edge pixels
|
static int |
MODE_WRAP
Pad edges by wrapping around edge pixels
|
static int |
MODE_ZERO_PAD
Pad edges with zeros
|
static PadMode |
REPLICATE
Pad edges by replicating edge pixels
|
static PadMode |
WRAP
Pad edges by replicating edge pixels
|
static PadMode |
ZERO_PAD
Pad edges with zeros
|
Modifier | Constructor and Description |
---|---|
private |
PadMode(int mode) |
Modifier and Type | Method and Description |
---|---|
int |
getMode()
Returns the mode of this pad mode.
|
private java.lang.Object |
readResolve()
This is called by the serialization code before it returns
an unserialized object.
|
public static final int MODE_ZERO_PAD
public static final int MODE_REPLICATE
public static final int MODE_WRAP
public static final PadMode ZERO_PAD
public static final PadMode REPLICATE
public static final PadMode WRAP
private int mode
public int getMode()
private java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException