The SpreadMethod class provides values for the spreadMethod parameter in the beginGradientFill() and lineGradientStyle() methods of the Graphics class.
spreadMethod
beginGradientFill()
lineGradientStyle()
The following example shows the same gradient fill using various spread methods:
Specifies that the gradient use the pad spread method.
Specifies that the gradient use the reflect spread method.
Specifies that the gradient use the repeat spread method.
Generated using TypeDoc
The SpreadMethod class provides values for the
spreadMethod
parameter in thebeginGradientFill()
andlineGradientStyle()
methods of the Graphics class.The following example shows the same gradient fill using various spread methods: