"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SGradientStop = void 0; var SGradientStop = (function () { function SGradientStop(pos, color) { this._pos = 0; this.pos = pos; this.color = color; } Object.defineProperty(SGradientStop.prototype, "pos", { get: function () { return this._pos; }, set: function (value) { if (value < 0) { value = 0; } if (value > 1) { value = 1; } this._pos = value; }, enumerable: false, configurable: true }); return SGradientStop; }()); exports.SGradientStop = SGradientStop;