Canvas Text Renderer

Remarks

This module exports the Canvas Text Renderer for the Lightning 3 Renderer. The Canvas Text Renderer is used to render text using the Canvas API, this is slightly less performant than the SDF Text Renderer. However the Canvas Text Renderer is more widely supported on older devices.

You can import the exports from this module like so:

import { CanvasTextRenderer } from '@lightning/renderer';

Index

Classes

Generated using TypeDoc