0.0.8 • Published 6 years ago

aframe-canvas-text v0.0.8

Weekly downloads
8
License
MIT
Repository
github
Last release
6 years ago

aframe-canvas-text

A component renders text from generated canvas for A-Frame.

Use with A-Frame Inspector

Use with A-Frame Inspector

Usage

  1. CDN - jsDelivr
  2. Self-host - <script src="../components/canvas-text.min.js"></script>
  3. Node.js - npm install aframe-canvas-text

Properties

<a-entity canvas-text="size:48; color:#0080FF; align:center; value:你好, HTML!\n\u270C\n你好, Aframe!"></a-entity>
PropertyDescriptionDefault Value
sizeText size, 100 is about 1 meter in space.50
colorText color.black
valueText to be rendered, supports unicode text & newline(\n).''
alignMulti-line text alignment (left, center, right).'left'
0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago