org.apache.batik.ext.awt.image

Class PadMode

public final class PadMode extends Object implements Serializable

This is a typesafe enumeration of the standard Composite rules for the CompositeRable operation. (over, in, out, atop, xor, arith)
Field Summary
static intMODE_REPLICATE
Pad edges by replicating edge pixels
static intMODE_WRAP
Pad edges by wrapping around edge pixels
static intMODE_ZERO_PAD
Pad edges with zeros
static PadModeREPLICATE
Pad edges by replicating edge pixels
static PadModeWRAP
Pad edges by replicating edge pixels
static PadModeZERO_PAD
Pad edges with zeros
Method Summary
intgetMode()
Returns the mode of this pad mode.

Field Detail

MODE_REPLICATE

public static final int MODE_REPLICATE
Pad edges by replicating edge pixels

MODE_WRAP

public static final int MODE_WRAP
Pad edges by wrapping around edge pixels

MODE_ZERO_PAD

public static final int MODE_ZERO_PAD
Pad edges with zeros

REPLICATE

public static final PadMode REPLICATE
Pad edges by replicating edge pixels

WRAP

public static final PadMode WRAP
Pad edges by replicating edge pixels

ZERO_PAD

public static final PadMode ZERO_PAD
Pad edges with zeros

Method Detail

getMode

public int getMode()
Returns the mode of this pad mode.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.