Class StyleRegistry

Singleton class that acts as a global converter from string to object values in a style. This is currently only used to perimeters and edge styles.

Constructors

Properties

Methods

Constructors

Properties

values: any = ...

Maps from strings to objects.

Methods

  • Puts the given object into the registry under the given name.

    Parameters

    • name: string
    • obj: any

    Returns void