Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@SeregPie SeregPie released this 11 Oct 15:31
4571016
  • Rewrite from scratch.
  • Drop IE 11 support.
  • Increase dependency version of THREE from >=0.86 to >=0.113.
  • Rename align to alignment.
  • Rename fillStyle to color.
  • Rename strokeStyle to strokeColor.
  • Change default lineGap from 0.15 to 0.25.
  • Change default strokeColor from '#000' to '#fff'.
  • Change default padding from 0.25 to 0.5.
  • Remove lines property.
  • Remove computeOptimalFontSize function.
  • Remove computeAndSetOptimalFontSize function.
  • Add font property.
  • Add pixelRatio property.
  • Add checkFontFace function.
  • Add loadFontFace function.
  • Add setOptimalPixelRatio function.