Skip to main content

DynamicDrawApplyOptions

Callable


  • Applies a set of dynamic drawing options to a canvas rendering context. This sets the canvas up with the relevant font size, color, etc. ready for drawing text


    Parameters

    • ctx: CanvasRenderingContext2D

      The rendering context to draw the text to

    • options: DynamicDrawOptions

      The drawing options to apply

    Returns void

    • Nothing