Skip to content

v34.0.0

Compare
Choose a tag to compare
@nickofthyme nickofthyme released this 16 Aug 23:12

34.0.0 (2021-08-16)

Code Refactoring

BREAKING CHANGES

  • cartesian: - TextStyle.fontStyle is no longer a string, it's the more specific FontStyle
  • For symmetry, fontStyle in word cloud is also switching from string to FontStyle
  • Certain text configurations included both fill and textColor for the text color; fill got removed, because textColor is part of the public Font type, and because textColor has clearer meaning than fill. Yet, some of the code used the fill property and/or made the fill property also mandatory. So, userland code needs to remove some fill property, and might need to ensure that the correct value is going into textColor
  • getRadians got unpublished
  • No attempt to draw a rect border if there's not enough width/height for at least the specified border width (ie. width/height being at least twice the border width)