Function drawOffscreenSection

  • Draw a section of an offscreen context to the current context

    Parameters

    • offscreen: Offscreen

      The offscreen context to draw

    • x: number

      The x coordinate to draw at

    • y: number

      The y coordinate to draw at

    • sx: number

      The x coordinate in the offscreen canvas to start drawing from

    • sy: number

      The y coordinate in the offscreen canvas to start drawing from

    • width: number

      The width of the section to draw

    • height: number

      The height of the section to draw

    Returns void

Generated using TypeDoc