q5play
    Preparing search index...

    Function shadowBox

    • 💅 Sets the shadow offset and blur radius.

      When q5 starts, shadow offset is (10, 10) with a blur of 10.

      Not available in q5 WebGPU.

      Parameters

      • offsetX: number

        horizontal offset of the shadow

      • offsetY: number

        vertical offset of the shadow, defaults to be the same as offsetX

      • blur: number

        blur radius of the shadow, defaults to 0

      Returns void