public static enum LinearConvolveRenderState.PassType extends java.lang.Enum<LinearConvolveRenderState.PassType>
Enum Constant and Description |
---|
GENERAL_VECTOR
The kernel on this pass can be applied in any direction or with
any kind of offset.
|
HORIZONTAL_CENTERED
The kernel on this pass will be applied horizontally with
the kernel centered symmetrically around each pixel.
|
VERTICAL_CENTERED
The kernel on this pass will be applied vertically with
the kernel centered symmetrically around each pixel.
|
Modifier and Type | Method and Description |
---|---|
static LinearConvolveRenderState.PassType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LinearConvolveRenderState.PassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinearConvolveRenderState.PassType HORIZONTAL_CENTERED
(2*k+1)
(x,y)
is taken from
pixels x-k,y
through (x+k,y)
with the weights
applied in that same order.
(x,y,w,h)
then
the bounds of the destination will be (x-k,y,w+2*k,h)
.
public static final LinearConvolveRenderState.PassType VERTICAL_CENTERED
(2*k+1)
(x,y)
is taken from
pixels x,y-k
through (x,y+k)
with the weights
applied in that same order.
(x,y,w,h)
then
the bounds of the destination will be (x,y-k,w,h+2*k)
.
public static final LinearConvolveRenderState.PassType GENERAL_VECTOR
public static LinearConvolveRenderState.PassType[] values()
for (LinearConvolveRenderState.PassType c : LinearConvolveRenderState.PassType.values()) System.out.println(c);
public static LinearConvolveRenderState.PassType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null