-
-
Notifications
You must be signed in to change notification settings - Fork 384
/
Copy pathtypes.d.ts
70 lines (61 loc) · 1.76 KB
/
types.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import { vtkOutputPort } from './interfaces';
/** Alias type for value that can be null */
declare type Nullable<T> = T | null;
/**
* Alias type for number that are floats
* @ignorenaming
*/
declare type float = number;
/**
* Alias type for number that are doubles.
* @ignorenaming
*/
declare type double = number;
/**
* Alias type for number that are integer
* @ignorenaming
*/
declare type int = number;
declare type TypedArray =
| Uint32Array
| Uint16Array
| Uint8Array
| Uint8ClampedArray
| Int32Array
| Int16Array
| Int8Array
| Float64Array
| Float32Array;
declare type Bounds = [number, number, number, number, number, number];
declare type CellType = number;
declare type Extent = [number, number, number, number, number, number];
declare type Placement = 'top' | 'left' | 'right' | 'bottom';
declare type Size = [number, number];
declare type Range = [number, number];
declare type Vector2 = [number, number];
declare type Vector3 = [number, number, number];
declare type Vector4 = [number, number, number, number];
declare type Matrix = number[];
declare type Matrix2x2 = [number, number, number, number, number, number];
declare type Matrix3x3 = [
number,
number,
number,
number,
number,
number,
number,
number,
number
];
/**
* @deprecated The `Point` type is deprecated, please use `Vector3` instead.
*/
declare type Point = Vector3;
declare type HSLColor = [number, number, number];
declare type HSVColor = [number, number, number];
declare type RGBColor = [number, number, number];
declare type RGBAColor = [number, number, number, number];
declare type Color = HSLColor | HSVColor | RGBColor | RGBAColor;
declare type vtkPipelineConnection = () => any | vtkOutputPort;
declare type CrossOrigin = '' | 'anonymous' | 'use-credentials';