text-cache

WebJar for text-cache

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

text-cache
Last Version

Last Version

4.2.2
Release Date

Release Date

Type

Type

jar
Description

Description

text-cache
WebJar for text-cache
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/gl-vis/text-cache

Download text-cache

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/text-cache/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>text-cache</artifactId>
    <version>4.2.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/text-cache/
implementation 'org.webjars.npm:text-cache:4.2.2'
// https://jarcasting.com/artifacts/org.webjars.npm/text-cache/
implementation ("org.webjars.npm:text-cache:4.2.2")
'org.webjars.npm:text-cache:jar:4.2.2'
<dependency org="org.webjars.npm" name="text-cache" rev="4.2.2">
  <artifact name="text-cache" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='text-cache', version='4.2.2')
)
libraryDependencies += "org.webjars.npm" % "text-cache" % "4.2.2"
[org.webjars.npm/text-cache "4.2.2"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : vectorize-text jar [3.2.1,4)

Project Modules

There are no modules declared in this project.

text-cache

A cache of generated vector font meshes. This is an internal module used to share generated fonts/glyphs across gl-vis packages.

API

require('text-cache')(font, str)

Generates a vectorized text mesh.

  • font is the font to use
  • str is the string to generate

Returns A triangulation encoding the vectorized text string.

License

(c) 2015 Mikola Lysenko. MIT License

org.webjars.npm

Versions

Version
4.2.2
4.2.1
4.2.0