public enum XpsSpreadMethod extends Enum<XpsSpreadMethod>
Valid values of gradient brushes' SpreadMethod property.
Enum Constant and Description |
---|
Pad
In this method, the first color and the last color are used to fill the remaining
fill area at the beginning and end.
|
Reflect
In this method, the gradient stops are replayed in reverse order repeatedly to cover the fill area.
|
Repeat
In this method, the gradient stops are repeated in order until the fill area is covered.
|
Modifier and Type | Method and Description |
---|---|
static XpsSpreadMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XpsSpreadMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XpsSpreadMethod Pad
In this method, the first color and the last color are used to fill the remaining fill area at the beginning and end.
public static final XpsSpreadMethod Reflect
In this method, the gradient stops are replayed in reverse order repeatedly to cover the fill area.
public static final XpsSpreadMethod Repeat
In this method, the gradient stops are repeated in order until the fill area is covered.
public static XpsSpreadMethod[] values()
for (XpsSpreadMethod c : XpsSpreadMethod.values()) System.out.println(c);
public static XpsSpreadMethod 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 © 2019 Aspose. All Rights Reserved.