All notable changes to this project will be documented in this file.
The format is inspired from Keep a Changelog, and this project adheres to Semantic Versioning.
- New
strokeColor
andstrokeWidth
text formatting options to control the outline of the text (#292).- Note that due to how the
strokeText()
andmeasureText()
Canvas APIs work, the stroke is not considered in text placement. Setting a large width will result in the stroke "bleeding" outside the text box.
- Note that due to how the
- Fixed bug where
drawText()
configfontColor
option was not being included in the base font format used to render the text (#64).
- README updated to include the new
overflow
option in the API docs.
- New
overflow?: boolean
config parameter fordrawText()
API: True (default) to allow overflow; false to clip text to box.
- First official release 🎉