Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Obfuscation

Hierarchy

  • Obfuscation

Index

Constructors

Methods

Constructors

constructor

  • new Obfuscation(radius: number, seed?: undefined | number): Obfuscation
  • Parameters

    • radius: number
    • Optional seed: undefined | number

    Returns Obfuscation

Methods

obfuscate

  • obfuscate(mapImage: CanvasImageSource, obfuscation: number, theme: DrawnMapTheme): Promise<HTMLCanvasElement>
  • Parameters

    • mapImage: CanvasImageSource
    • obfuscation: number
    • theme: DrawnMapTheme

    Returns Promise<HTMLCanvasElement>

Generated using TypeDoc