Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ThreeIcon

Index

Constructors

constructor

Properties

Static Private icons

icons: StringTMap<Texture> = ...

Methods

Static Private colorizeSvg

  • colorizeSvg(svg: string, backgroundColor: string, foregroundColor: string, text: string): string
  • Parameters

    • svg: string
    • backgroundColor: string
    • foregroundColor: string
    • text: string

    Returns string

Static Private getSvgFromUrl

  • getSvgFromUrl(url: string): Promise<string>

Static getTexture

  • getTexture(input: string, backgroundColor: string, foregroundColor: string, text?: string): Promise<Texture>
  • Parameters

    • input: string
    • backgroundColor: string
    • foregroundColor: string
    • Optional text: string

    Returns Promise<Texture>

Static Private textureFromStringOrUrlSvg

  • textureFromStringOrUrlSvg(string: string, backgroundColor: string, foregroundColor: string, text?: string): Promise<Texture>
  • Parameters

    • string: string
    • backgroundColor: string
    • foregroundColor: string
    • Optional text: string

    Returns Promise<Texture>

Generated using TypeDoc