Options
Menu

Class SpreadMethod

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:

Hierarchy

  • SpreadMethod

Index

Properties

Properties

Static PAD

PAD: string

Specifies that the gradient use the pad spread method.

Static REFLECT

REFLECT: string

Specifies that the gradient use the reflect spread method.

Static REPEAT

REPEAT: string

Specifies that the gradient use the repeat spread method.

Generated using TypeDoc