@nmmty/lazycanvas 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -141,7 +141,9 @@ class Path2DLayer extends BaseLayer_1.BaseLayer {
141
141
  ctx.save();
142
142
  let fillStyle = await (0, utils_1.parseFillStyle)(ctx, this.props.fillStyle, { debug, manager });
143
143
  (0, utils_1.transform)(ctx, this.props.transform, { width: 0, height: 0, x: 0, y: 0, type: this.type });
144
+ (0, utils_1.drawShadow)(ctx, this.props.shadow);
144
145
  (0, utils_1.opacity)(ctx, this.props.opacity);
146
+ (0, utils_1.filters)(ctx, this.props.filter);
145
147
  ctx.globalCompositeOperation = this.props.globalComposite;
146
148
  if (this.props.clipPath) {
147
149
  ctx.clip(this.props.path2D);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nmmty/lazycanvas",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "A simple way to interact with @napi-rs/canvas in an advanced way!",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",