Function drawDot

  • Draw a tiny dot marker on the specified context. A great debugging aid.

    Parameters

    • ctx: RenderContext

      context

    • x: number

      dot x coordinate

    • y: number

      dot y coordinate

    • color: string = '#F55'

    Returns void