Class PadMode
java.lang.Object
org.apache.batik.ext.awt.image.PadMode
- All Implemented Interfaces:
Serializable
This is a typesafe enumeration of the standard Composite rules for
the CompositeRable operation. (over, in, out, atop, xor, arith)
- Version:
- $Id$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intThe pad mode for this object.static final intPad edges by replicating edge pixelsstatic final intPad edges by wrapping around edge pixelsstatic final intPad edges with zerosstatic final PadModePad edges by replicating edge pixelsstatic final PadModePad edges by replicating edge pixelsstatic final PadModePad edges with zeros -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MODE_ZERO_PAD
public static final int MODE_ZERO_PADPad edges with zeros- See Also:
-
MODE_REPLICATE
public static final int MODE_REPLICATEPad edges by replicating edge pixels- See Also:
-
MODE_WRAP
public static final int MODE_WRAPPad edges by wrapping around edge pixels- See Also:
-
ZERO_PAD
Pad edges with zeros -
REPLICATE
Pad edges by replicating edge pixels -
WRAP
Pad edges by replicating edge pixels -
mode
private int modeThe pad mode for this object.
-
-
Constructor Details
-
PadMode
private PadMode(int mode)
-
-
Method Details
-
getMode
public int getMode()Returns the mode of this pad mode. -
readResolve
This is called by the serialization code before it returns an unserialized object. To provide for unicity of instances, the instance that was read is replaced by its static equivalent. See the serialiazation specification for further details on this method's logic.- Throws:
ObjectStreamException
-