Hierarchy (View Summary)

Constructors

Properties

_bubbleType: TextBubbleType
_canvas: HTMLCanvasElement
_id: number
_lines: string[]
_pointsLeft: boolean
_renderedScale: number
_renderer: RenderWebGL
_rotationCenter: V3
_silhouette: Silhouette
_size: [number, number]
_style: Readonly<TextBubbleStyle>
_textAreaSize: { height: number; width: number }
_textDirty: boolean
_texture: null | WebGLTexture
_textureDirty: boolean
_uniforms: { u_skin: null | WebGLTexture; u_skinSize: [number, number] }
measurementProvider: CanvasMeasurementProvider
textWrapper: TextWrapper

Accessors

Methods

  • Parameters

    • type: TextBubbleType

      Type of bubble.

    • text: string

      Text to display.

    • pointsLeft: boolean

      True if this bubble points left, false if this bubble points right.

    Returns void