Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "draw"

Index

Functions

Functions

Const defs

  • defs(ctx: CanvasRenderingContext2D, state: DrawState | undefined, pstate: DrawState, shape: any[]): void

Const draw

  • draw(ctx: CanvasRenderingContext2D, shape: any, pstate?: DrawState): void
  • Parameters

    • ctx: CanvasRenderingContext2D
    • shape: any
    • Default value pstate: DrawState = { attribs: {}, edits: [] }

    Returns void

Generated using TypeDoc