Skip to main content

DynamicDrawTextAndEffects

Callable

  • DynamicDrawTextAndEffects(text: string, ctx: CanvasRenderingContext2D, x: number, y: number, options: DynamicDrawOptions): void

  • Internal utility function for drawing text and applying text effects.


    Parameters

    • text: string

      The text to draw

    • ctx: CanvasRenderingContext2D

      The rendering context to draw the text to

    • x: number

      The x coordinate at which to draw the text

    • y: number

      The y coordinate at which to draw the text

    • options: DynamicDrawOptions

      Additional drawing options

    Returns void

    • Nothing