Class StoryboardEncoder

A storyboard encoder.

Constructors

Methods

  • Performs storyboard encoding to the specified path.

    Parameters

    • path: string

      The path for writing the .osb file.

    • Optional storyboard: Storyboard

      The storyboard for encoding.

    Returns Promise<void>

    Throws

    If storyboard can't be encoded or file can't be written.

  • Performs storyboard encoding to a string.

    Parameters

    • Optional storyboard: Storyboard

      The storyboard for encoding.

    Returns string

    The string with encoded storyboard data.