File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ export abstract class TaskRunner {
118118  /** Configures the task with custom options. */ 
119119  abstract  setOptions ( options : TaskRunnerOptions ) : Promise < void > ; 
120120
121+   /** Config graph for auto-resizing canvas. */ 
122+   abstract  setAutoResizeCanvas ( isAutoResizeCanvas : boolean ) : void ; 
123+ 
121124  /** 
122125   * Applies the current set of options, including optionally any base options 
123126   * that have not been processed by the task implementation. The options are 
Original file line number Diff line number Diff line change @@ -82,6 +82,11 @@ export abstract class VisionTaskRunner extends TaskRunner {
8282    super ( graphRunner ) ; 
8383  } 
8484
85+   override  setAutoResizeCanvas ( 
86+       isAutoResizeCanvas : boolean ) : void   { 
87+         this . graphRunner . setAutoResizeCanvas ( isAutoResizeCanvas ) ; 
88+   } 
89+ 
8590  /** 
8691   * Configures the shared options of a vision task. 
8792   * 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments