UNPKG

awayjs-display

Version:
24 lines (23 loc) 706 B
/** * The SpreadMethod class provides values for the <code>spreadMethod</code> * parameter in the <code>beginGradientFill()</code> and * <code>lineGradientStyle()</code> methods of the Graphics class. * * <p>The following example shows the same gradient fill using various spread * methods:</p> */ declare class SpreadMethod { /** * Specifies that the gradient use the <i>pad</i> spread method. */ static PAD: string; /** * Specifies that the gradient use the <i>reflect</i> spread method. */ static REFLECT: string; /** * Specifies that the gradient use the <i>repeat</i> spread method. */ static REPEAT: string; } export default SpreadMethod;