Package org.apache.batik.ext.awt.image
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: PadMode.java 1808888 2017-09-19 14:22:11Z ssteiner $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
The pad mode for this object.static final int
Pad edges by replicating edge pixelsstatic final int
Pad edges by wrapping around edge pixelsstatic final int
Pad edges with zerosstatic final PadMode
Pad edges by replicating edge pixelsstatic final PadMode
Pad edges by replicating edge pixelsstatic final PadMode
Pad 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
-