What's New
-
Dynamic Styling with CSS:
Introduced a newapplyStyleSheet
method for dynamic styling, making it easier to apply CSS styles to SVG content. See an example here. -
Automatic Layout Updates:
The library now detects document modifications and updates the layout automatically when necessary, eliminating the need for manualupdateLayout
calls. -
Enhanced Layout Control:
Added theforceLayout
method to trigger immediate layout updates when needed. -
Improved Text Rendering:
Support for CSS properties likebaseline-shift
,alignment-baseline
, anddominant-baseline
has been added, significantly enhancing text rendering capabilities.
Cheers to creating awesome things with these new features! Happy holidays and happy coding! π