Skip to content

canvas-constructor@1.1.0

Compare
Choose a tag to compare
@kyranet kyranet released this 11 Sep 21:19
0371a62

Added

  • Added toDataURL() and toDataURLAsync().
  • Added addCircularImage(), similar to addCircle().
  • Added setTextSize(), similar to setTextFont() but changes the font size only (not the font itself).
  • Added all overloads for addImage().
  • (Documentation) Added MDN link for addImage().

Changed

  • createBeveledPath() now accepts an object type BeveledRadiusOptions.
  • Renamed addBevelImage() to addBeveledImage() to prevent confusions (naming inconsistency). The old method is still available but it's deprecated and will be removed in the next major update.