UNPKG

@tsparticles/plugin-emitters-shape-canvas

Version:

tsParticles emitters shape canvas plugin

19 lines (18 loc) 457 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PixelsOptions = void 0; const engine_1 = require("@tsparticles/engine"); class PixelsOptions { constructor() { this.offset = 4; } load(data) { if ((0, engine_1.isNull)(data)) { return; } if (data.offset !== undefined) { this.offset = data.offset; } } } exports.PixelsOptions = PixelsOptions;