Download Latest Version v23.0.0 source code.zip (94.5 kB)
Email in envelope

Get an email when there's a new version of jCanvas

Home / v22.1.3
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-04-26 776 Bytes
v22.1.3 source code.tar.gz 2024-04-26 76.7 kB
v22.1.3 source code.zip 2024-04-26 80.3 kB
Totals: 3 Items   157.7 kB 0
  • Fixed another bug where masking would be undone for SVG paths drawn with drawPath()
  • You can run the following example in the jCanvas sandbox to verify that masking now behaves correctly for SVG paths

    :::js $('canvas') .drawPath({ layer: true, mask: true, strokeStyle: '#000', strokeWidth: 2, d: 'm46 71c-12.2 0-22-9.8-22-22 0-12.2 9.8-22 22-22 12.2 0 22 9.8 22 22 0 12.2-9.8 22-22 22z m103.5 159c-20.2 0-36.5-16.3-36.5-36.5 0-20.2 16.3-36.5 36.5-36.5 20.2 0 36.5 16.3 36.5 36.5 0 20.2-16.3 36.5-36.5 36.5z' }) .drawRect({ layer: true, fillStyle: '#c33', x: 50, y: 50, width: 100, height: 150, fromCenter: false });

Source: README.md, updated 2024-04-26