Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • clampKernelSize(value: any, min: any, max: any): any
  • Parameters

    • value: any
    • min: any
    • max: any

    Returns any

  • clampValue(value: any, min: any, max: any): number
  • Parameters

    • value: any
    • min: any
    • max: any

    Returns number

  • Return the creator for the filter with the given name, if any.

    Parameters

    • filterName: string

      The name of the filter to get

    Returns null | FilterCreator

    The filter creator, if any (null otherwise).

  • registerFilterCreator(filterName: string, filterCreator: FilterCreator): void
  • Register a new PIXI filter creator, to be used by GDJS.

    Parameters

    • filterName: string

      The name of the filter to get

    • filterCreator: FilterCreator

      The object used to create the filter.

    Returns void

  • rgbOrHexToHexNumber(value: string): number
  • Convert a string RGB color ("rrr;ggg;bbb") or a hex string (#rrggbb) to a hex number.

    Parameters

    • value: string

      The color as a RGB string or hex string

    Returns number

Generated using TypeDoc