public static enum RenderState.EffectCoordinateSpace extends Enum<RenderState.EffectCoordinateSpace>
Effect
objects) and applied to the result of the filter.Enum Constant and Description |
---|
CustomSpace
The
RenderState object will specify custom transform objects
for both the input transform and the result transform with the only
constraint that the two will concatenate to produce the original
filter transform. |
RenderSpace
The
RenderState object will specify the original filter
transform as the input transform and an IDENTITY transform for
the result transform. |
UserSpace
The
RenderState object will specify an IDENTITY transform
for the input transform and the original filter transform as
the result transform. |
Modifier and Type | Method and Description |
---|---|
static RenderState.EffectCoordinateSpace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RenderState.EffectCoordinateSpace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderState.EffectCoordinateSpace UserSpace
RenderState
object will specify an IDENTITY transform
for the input transform and the original filter transform as
the result transform.public static final RenderState.EffectCoordinateSpace CustomSpace
RenderState
object will specify custom transform objects
for both the input transform and the result transform with the only
constraint that the two will concatenate to produce the original
filter transform.
BaseTransform inputtx = getInputTransform(filtertx); BaseTransform resulttx = getResultTransform(filtertx); // Ignoring the potential for concatenate to modify the // return values from the above two methods, this virtual // assert statement is just for the sake of documenting // the intended constraints. assert(filtertx.equalsApproximately(resulttx.concatenate(inputtx)));
public static final RenderState.EffectCoordinateSpace RenderSpace
RenderState
object will specify the original filter
transform as the input transform and an IDENTITY transform for
the result transform.public static RenderState.EffectCoordinateSpace[] values()
for (RenderState.EffectCoordinateSpace c : RenderState.EffectCoordinateSpace.values()) System.out.println(c);
public static RenderState.EffectCoordinateSpace valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.