DDNet - v0.8.1
    Preparing search index...

    Function tint

    • Tint a buffer with a given HSLA color.

      Parameters

      • buf: Buffer

        The buffer to work on.

      • hsla: HSLA_Color

        The HSLA color to tint the buffer with.

      • Optionaluse7UnclampVal: boolean

        Set to true for tinting 0.7 skins.

      Returns Promise<{ data: Buffer; info: OutputInfo }>