Skip to content

Commit 4c28e79

Browse files
ghetolayfinetjul
authored andcommitted
fix(typings): return type of vtkViewport.getViewportByReference() and jsdoc of getViewport()
1 parent 8882d4d commit 4c28e79

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Sources/Rendering/Core/Viewport/index.d.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,19 @@ export interface vtkViewport extends vtkObject {
6363
getSize(): Size;
6464

6565
/**
66-
*
66+
* Viewport for the Viewport to draw in the rendering window.
67+
* Coordinates are expressed as (xmin,ymin,xmax,ymax), where each
68+
* coordinate is 0 <= coordinate <= 1.0.
69+
* @returns {Number[]}
70+
* @see getViewportByReference()
71+
* @see setViewport()
6772
*/
6873
getViewport(): [number, number, number, number];
6974

7075
/**
7176
*
7277
*/
73-
getViewportByReference(): vtkViewport;
78+
getViewportByReference(): [number, number, number, number];
7479

7580
/**
7681
*

0 commit comments

Comments
 (0)