• Preparing search index...
  • The search index is not available
SCI.js
  • SCI.js
  • @4bitlabs/sci0
  • parsePic

Function parsePic

  • parsePic(source): DrawCommand[]
  • Parse a Pic resource from bytes.

    Parameters

    • source: Uint8Array

    Returns DrawCommand[]

    Parsed draw commands as an array.

  • parsePic(source, options): Pic
  • Parse a Pic resource from bytes.

    Parameters

    • source: Uint8Array
    • options: {
          defer: true;
      }
      • defer: true

        Return an Iterable of DrawCommand that will parse source on demand.

    Returns Pic

Settings

Member Visibility
SCI.js
  • Loading...

Generated using TypeDoc