XpsSpreadMethod

Inheritance: java.lang.Object, java.lang.Enum

public enum XpsSpreadMethod extends Enum<XpsSpreadMethod>

Valid values of gradient brushes’ SpreadMethod property.

Fields

FieldDescription
PadIn this method, the first color and the last color are used to fill the remaining fill area at the beginning and end.
ReflectIn this method, the gradient stops are replayed in reverse order repeatedly to cover the fill area.
RepeatIn this method, the gradient stops are repeated in order until the fill area is covered.

Methods

MethodDescription
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:

ParameterTypeDescription
namejava.lang.String

Returns: XpsSpreadMethod