Function injectRandomFillFeature

  • Inject code for a new debug feature that returns a random fill colour in a given property when enabled.

    EPILEPSY WARNING: This debug feature may trigger epileptic seizures when enabled, especially for widgets that frequently update.

    Parameters

    • classObj: any

      The class. BaseTheme for example

    • themePropertyKey: string

      The key of the property to override. "canvasFill" for example

    Returns void