The SpreadMethod class provides values for the spreadMethod parameter in the beginGradientFill() and lineGradientStyle() methods of the Graphics class.

The following example shows the same gradient fill using various spread methods:

Variables

@:enum@:implinlineread onlyPAD:SpreadMethod

Specifies that the gradient use the pad spread method.

@:enum@:implinlineread onlyREFLECT:SpreadMethod

Specifies that the gradient use the reflect spread method.

@:enum@:implinlineread onlyREPEAT:SpreadMethod

Specifies that the gradient use the repeat spread method.