export class CanvasGradient {
    constructor(nativeInstance) {
        this._native = nativeInstance;
    }
    get native() {
        return this._native;
    }
    static fromNative(nativeInstance) {
        return new CanvasGradient(nativeInstance);
    }
    addColorStop(offset, color) {
        this.native.addColorStop(offset, color);
    }
}
//# sourceMappingURL=index.js.map