UNPKG

@awayjs/graphics

Version:
27 lines (26 loc) 811 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> */ var SpreadMethod = /** @class */ (function () { function SpreadMethod() { } /** * Specifies that the gradient use the <i>pad</i> spread method. */ SpreadMethod.PAD = 'pad'; /** * Specifies that the gradient use the <i>reflect</i> spread method. */ SpreadMethod.REFLECT = 'reflect'; /** * Specifies that the gradient use the <i>repeat</i> spread method. */ SpreadMethod.REPEAT = 'repeat'; return SpreadMethod; }()); export { SpreadMethod };