Skip to content

Releases: SeregPie/THREE.TextTexture

3.0.0

11 Oct 15:31
4571016
Compare
Choose a tag to compare
  • 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.