XpsSpreadMethod
Contents
[
Hide
]Inheritance: java.lang.Object, java.lang.Enum
public enum XpsSpreadMethod extends Enum<XpsSpreadMethod>
Valid values of gradient brushes’ SpreadMethod property.
Fields
Field | 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. |
Methods
Method | Description |
---|---|
values() | |
valueOf(String name) |
Pad
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.
Reflect
public static final XpsSpreadMethod Reflect
In this method, the gradient stops are replayed in reverse order repeatedly to cover the fill area.
Repeat
public static final XpsSpreadMethod Repeat
In this method, the gradient stops are repeated in order until the fill area is covered.
values()
public static XpsSpreadMethod[] values()
Returns: com.aspose.xps.XpsSpreadMethod[]
valueOf(String name)
public static XpsSpreadMethod valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: XpsSpreadMethod