awayjs-display
Version:
AwayJS displaylist classes
29 lines • 921 B
JavaScript
/**
* 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 = (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;
}());
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = SpreadMethod;
//# sourceMappingURL=SpreadMethod.js.map
;