org.apache.batik.ext.awt.image
Class PadMode

java.lang.Object
  |
  +--org.apache.batik.ext.awt.image.PadMode
All Implemented Interfaces:
java.io.Serializable

public final class PadMode
extends java.lang.Object
implements java.io.Serializable

This is a typesafe enumeration of the standard Composite rules for the CompositeRable operation. (over, in, out, atop, xor, arith)

See Also:
Serialized Form

Field Summary
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
 
Method Summary
 int getMode()
          Returns the mode of this pad mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODE_ZERO_PAD

public static final int MODE_ZERO_PAD
Pad edges with zeros

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

ZERO_PAD

public static final PadMode 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
Method Detail

getMode

public int getMode()
Returns the mode of this pad mode.


Copyright © 2002 Apache Software Foundation. All Rights Reserved.