Function drawSceneToCanvas

  • Parameters

    • renderContainer: HTMLDivElement
    • pageSize: {
          height: number;
          width: number;
      }
      • height: number
      • width: number
    • json: AppStateJSON
    • options: {
          withGrid?: boolean;
      }
      • OptionalwithGrid?: boolean
    • serviceNames: (
          | "Charts"
          | "CopyPasteService"
          | "DrawService"
          | "Editor"
          | "Effects"
          | "ExportService"
          | "ExtPluginsManager"
          | "ImportService"
          | "LayersManager"
          | "Layout"
          | "PrintPreview"
          | "SaveService"
          | "SnapService"
          | "Stencil"
          | "TextEditor"
          | "ThemeService"
          | "TableEditService"
          | "CommandManager"
          | "AnimationService")[]

    Returns Promise<EulerGraph>