public static enum MatteGenerator.MatteType extends Enum<MatteGenerator.MatteType>
Enum Constant and Description |
---|
ANGLED_LINEAR_GRADIENT
Generates linear gradients that can be angled to any angle.
|
LINEAR_HORIZONTAL_GRADIENT
A basic linear horizontal gradient.
|
LINEAR_VERTICAL_GRADIENT
A basic linear vertical gradient.
|
RADIAL_GRADIENT
Basic radial gradient centred on the middle of the matte.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
generateMatte(FImage img,
Object... args)
Generate the matte into the given image.
|
static MatteGenerator.MatteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatteGenerator.MatteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatteGenerator.MatteType LINEAR_VERTICAL_GRADIENT
public static final MatteGenerator.MatteType LINEAR_HORIZONTAL_GRADIENT
public static final MatteGenerator.MatteType RADIAL_GRADIENT
public static final MatteGenerator.MatteType ANGLED_LINEAR_GRADIENT
public static MatteGenerator.MatteType[] values()
for (MatteGenerator.MatteType c : MatteGenerator.MatteType.values()) System.out.println(c);
public static MatteGenerator.MatteType 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 nullpublic abstract void generateMatte(FImage img, Object... args)
img
- The image to generate the matte intoargs
- The arguments for the matte generator