Label

Source: Label.ts

A text label and its rendering resources. Normally created with GLViewer.addLabel.
Remove it with GLViewer.removeLabel so the viewer also releases its resources.


Constructor

new Label(text: string, parameters: LabelSpec): Label

Parameters

  • text (string) — Label text
  • parameters (LabelSpec) — Label style and font specifications