dwt 16.2.4 → 16.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -12
- package/dist/addon/dbrjs/dbr-7.6.0.full.wasm.js +4016 -4016
- package/dist/addon/dbrjs/dbr-7.6.0.worker.js +107 -107
- package/dist/addon/dbrjs/dbr.js +10 -10
- package/dist/dist/DynamsoftServiceSetup.deb +0 -0
- package/dist/dist/DynamsoftServiceSetup.msi +0 -0
- package/dist/dist/DynamsoftServiceSetup.pkg +0 -0
- package/dist/dist/DynamsoftServiceSetup.rpm +0 -0
- package/dist/dist/LICENSE +95 -95
- package/dist/dynamsoft.webtwain.min.js +209 -209
- package/dist/dynamsoft.webtwain.min.mjs +208 -208
- package/dist/src/dynamsoft.imageio_wasm-1.6.2.js +93 -93
- package/dist/src/dynamsoft.webtwain.css +1045 -1045
- package/dist/types/Addon.BarcodeReader.d.ts +168 -168
- package/dist/types/Addon.Camera.d.ts +125 -125
- package/dist/types/Addon.OCR.d.ts +264 -264
- package/dist/types/Addon.OCRPro.d.ts +251 -251
- package/dist/types/Addon.PDF.d.ts +110 -110
- package/dist/types/Addon.Webcam.d.ts +257 -257
- package/dist/types/Dynamsoft.Enum.d.ts +1850 -1849
- package/dist/types/Dynamsoft.FileUploader.d.ts +130 -130
- package/dist/types/Dynamsoft.d.ts +495 -495
- package/dist/types/WebTwain.Acquire.d.ts +1059 -1059
- package/dist/types/WebTwain.Buffer.d.ts +259 -259
- package/dist/types/WebTwain.Edit.d.ts +434 -434
- package/dist/types/WebTwain.IO.d.ts +951 -951
- package/dist/types/WebTwain.Util.d.ts +102 -102
- package/dist/types/WebTwain.Viewer.d.ts +795 -795
- package/dist/types/WebTwain.d.ts +51 -51
- package/dist/types/index.d.ts +20 -20
- package/package.json +2 -2
- package/samples/1.AcquireImage.html +0 -69
- package/samples/2.CustomScan.html +0 -98
- package/samples/3.PDFRasterizer.html +0 -73
- package/samples/4.OCRADocument.html +0 -156
- package/samples/5.ReadBarcode.html +0 -231
- package/samples/6.ScanOrCapture.html +0 -189
|
@@ -1,257 +1,257 @@
|
|
|
1
|
-
import { DynamsoftEnums as Dynamsoft } from "./Dynamsoft.Enum";
|
|
2
|
-
import { WebTwain } from "./WebTwain";
|
|
3
|
-
|
|
4
|
-
export interface Webcam {
|
|
5
|
-
/**
|
|
6
|
-
* Return whether the Webcam module has been installed.
|
|
7
|
-
*/
|
|
8
|
-
IsModuleInstalled(): boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Capture an image from the current camera.
|
|
11
|
-
* @param successCallback A callback function that is executed if the request succeeds.
|
|
12
|
-
* @param failureCallback A callback function that is executed if the request fails.
|
|
13
|
-
* @argument errorCode The error code.
|
|
14
|
-
* @argument errorString The error String
|
|
15
|
-
*/
|
|
16
|
-
CaptureImage(
|
|
17
|
-
successCallback: () => void,
|
|
18
|
-
failureCallback: (
|
|
19
|
-
errorCode: number,
|
|
20
|
-
errorString: string
|
|
21
|
-
) => void
|
|
22
|
-
): void;
|
|
23
|
-
/**
|
|
24
|
-
* Return a list of all available cameras.
|
|
25
|
-
*/
|
|
26
|
-
GetSourceList(): string[];
|
|
27
|
-
/**
|
|
28
|
-
* Select a camera to use.
|
|
29
|
-
* @param name Specify the camera.
|
|
30
|
-
*/
|
|
31
|
-
SelectSource(name: string): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Close the current camera.
|
|
34
|
-
*/
|
|
35
|
-
CloseSource(): boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Start to play the video stream from the current camera.
|
|
38
|
-
* @param DWObject Specify a WebTwain instance to show the video.
|
|
39
|
-
* @param quality Specify the quality of the video.
|
|
40
|
-
* @param frameDidShow A callback function that is triggered after each video frame is shown.
|
|
41
|
-
*/
|
|
42
|
-
PlayVideo(
|
|
43
|
-
DWObject: WebTwain,
|
|
44
|
-
quality: number,
|
|
45
|
-
frameDidShow?: () => void
|
|
46
|
-
): boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Pause the video.
|
|
49
|
-
*/
|
|
50
|
-
PauseVideo(): boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Stop the video.
|
|
53
|
-
*/
|
|
54
|
-
StopVideo(): boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Return information about the specified camera property.
|
|
57
|
-
* @param property Specify the property.
|
|
58
|
-
*/
|
|
59
|
-
GetCameraControlPropertySetting(
|
|
60
|
-
property: Dynamsoft.EnumDWT_CameraControlProperty | number
|
|
61
|
-
): CameraControlProperty;
|
|
62
|
-
/**
|
|
63
|
-
* Return detailed information about the specified camera property.
|
|
64
|
-
* @param property Specify the property.
|
|
65
|
-
*/
|
|
66
|
-
GetCameraControlPropertyMoreSetting(
|
|
67
|
-
property: Dynamsoft.EnumDWT_CameraControlProperty | number
|
|
68
|
-
): CameraControlPropertyExtra;
|
|
69
|
-
/**
|
|
70
|
-
* Set the specified camera property.
|
|
71
|
-
* @param property Specify the property.
|
|
72
|
-
* @param value Specify the value.
|
|
73
|
-
* @param auto Specify whether the propery should change automatically.
|
|
74
|
-
*/
|
|
75
|
-
SetCameraControlPropertySetting(
|
|
76
|
-
property: Dynamsoft.EnumDWT_CameraControlProperty | number,
|
|
77
|
-
value: number,
|
|
78
|
-
auto: boolean
|
|
79
|
-
): boolean;
|
|
80
|
-
/**
|
|
81
|
-
* Return information about the specified video property.
|
|
82
|
-
* @param property Specify the property.
|
|
83
|
-
*/
|
|
84
|
-
GetVideoPropertySetting(
|
|
85
|
-
property: Dynamsoft.EnumDWT_VideoProperty | number
|
|
86
|
-
): VideoControlProperty;
|
|
87
|
-
/**
|
|
88
|
-
* Return detailed information about the specified video property.
|
|
89
|
-
* @param property Specify the property.
|
|
90
|
-
*/
|
|
91
|
-
GetVideoPropertyMoreSetting(
|
|
92
|
-
property: Dynamsoft.EnumDWT_VideoProperty | number
|
|
93
|
-
): VideoControlPropertyExtra;
|
|
94
|
-
/**
|
|
95
|
-
* Set the specified video property.
|
|
96
|
-
* @param property Specify the property.
|
|
97
|
-
* @param value Specify the value.
|
|
98
|
-
* @param auto Specify whether the propery should change automatically.
|
|
99
|
-
*/
|
|
100
|
-
SetVideoPropertySetting(
|
|
101
|
-
property: Dynamsoft.EnumDWT_VideoProperty | number,
|
|
102
|
-
value: number,
|
|
103
|
-
auto: boolean
|
|
104
|
-
): boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Return the frame rates supported by the current camera.
|
|
107
|
-
*/
|
|
108
|
-
GetFrameRate(): FrameRate;
|
|
109
|
-
/**
|
|
110
|
-
* Return the media types supported by the current camera.
|
|
111
|
-
*/
|
|
112
|
-
GetMediaType(): MediaType;
|
|
113
|
-
/**
|
|
114
|
-
* Return the resolutions supported by the current camera.
|
|
115
|
-
*/
|
|
116
|
-
GetResolution(): Resolution;
|
|
117
|
-
/**
|
|
118
|
-
* Set the frame rate.
|
|
119
|
-
* @param rate Specify the frame rate.
|
|
120
|
-
*/
|
|
121
|
-
SetFrameRate(rate: number): boolean;
|
|
122
|
-
/**
|
|
123
|
-
* Set the media type.
|
|
124
|
-
* @param type Sepcify the media type.
|
|
125
|
-
*/
|
|
126
|
-
SetMediaType(type: string): boolean;
|
|
127
|
-
/**
|
|
128
|
-
* Set the resolution.
|
|
129
|
-
* @param resolution Specify the resolution.
|
|
130
|
-
*/
|
|
131
|
-
SetResolution(resolution: string): boolean;
|
|
132
|
-
/**
|
|
133
|
-
* Rotate the video.
|
|
134
|
-
* @param mode Specify the rotate mode
|
|
135
|
-
*/
|
|
136
|
-
SetVideoRotateMode(
|
|
137
|
-
mode: Dynamsoft.EnumDWT_VideoRotateMode | number
|
|
138
|
-
): boolean;
|
|
139
|
-
/**
|
|
140
|
-
* Return the URL (http(s)://) for the latest frame.
|
|
141
|
-
*/
|
|
142
|
-
GetFrameURL(): string;
|
|
143
|
-
/**
|
|
144
|
-
* Return the internal URL (dwt://) for the latest frame.
|
|
145
|
-
*/
|
|
146
|
-
GetFramePartURL(): string;
|
|
147
|
-
}
|
|
148
|
-
export interface FrameRate {
|
|
149
|
-
/**
|
|
150
|
-
* Return the number of available frame rates.
|
|
151
|
-
*/
|
|
152
|
-
GetCount(): number;
|
|
153
|
-
/**
|
|
154
|
-
* Return the specified frame rate.
|
|
155
|
-
*/
|
|
156
|
-
Get(index: number): number;
|
|
157
|
-
/**
|
|
158
|
-
* Return the current frame rate.
|
|
159
|
-
*/
|
|
160
|
-
GetCurrent(): number;
|
|
161
|
-
}
|
|
162
|
-
export interface MediaType {
|
|
163
|
-
/**
|
|
164
|
-
* Return the number of available media types.
|
|
165
|
-
*/
|
|
166
|
-
GetCount(): number;
|
|
167
|
-
/**
|
|
168
|
-
* Return the specified media type.
|
|
169
|
-
*/
|
|
170
|
-
Get(index: number): string;
|
|
171
|
-
/**
|
|
172
|
-
* Return the current media type.
|
|
173
|
-
*/
|
|
174
|
-
GetCurrent(): string;
|
|
175
|
-
/**
|
|
176
|
-
* internal use
|
|
177
|
-
*/
|
|
178
|
-
_resultlist: any;
|
|
179
|
-
}
|
|
180
|
-
export interface Resolution {
|
|
181
|
-
/**
|
|
182
|
-
* Return the number of available resolutions.
|
|
183
|
-
*/
|
|
184
|
-
GetCount(): number;
|
|
185
|
-
/**
|
|
186
|
-
* Return the specified resolution.
|
|
187
|
-
*/
|
|
188
|
-
Get(index: number): string;
|
|
189
|
-
/**
|
|
190
|
-
* Return the current resolution.
|
|
191
|
-
*/
|
|
192
|
-
GetCurrent(): string;
|
|
193
|
-
}
|
|
194
|
-
export interface VideoControlProperty {
|
|
195
|
-
/**
|
|
196
|
-
* Return the value of the property.
|
|
197
|
-
*/
|
|
198
|
-
GetValue(): number;
|
|
199
|
-
/**
|
|
200
|
-
* Return whether the property is set autmatically or not.
|
|
201
|
-
*/
|
|
202
|
-
GetIfAuto(): boolean;
|
|
203
|
-
}
|
|
204
|
-
export interface VideoControlPropertyExtra {
|
|
205
|
-
/**
|
|
206
|
-
* Return the minimum value of the property.
|
|
207
|
-
*/
|
|
208
|
-
GetMinValue(): number;
|
|
209
|
-
/**
|
|
210
|
-
* Return the maximum value of the property.
|
|
211
|
-
*/
|
|
212
|
-
GetMaxValue(): number;
|
|
213
|
-
/**
|
|
214
|
-
* Return the default value of the property.
|
|
215
|
-
*/
|
|
216
|
-
GetDefaultValue(): number;
|
|
217
|
-
/**
|
|
218
|
-
* Return the smallest increment by which the property can change.
|
|
219
|
-
*/
|
|
220
|
-
GetSteppingDelta(): number;
|
|
221
|
-
/**
|
|
222
|
-
* Return whether the property is set autmatically or not.
|
|
223
|
-
*/
|
|
224
|
-
GetIfAuto(): boolean;
|
|
225
|
-
}
|
|
226
|
-
export interface CameraControlProperty {
|
|
227
|
-
/**
|
|
228
|
-
* Return the value of the property.
|
|
229
|
-
*/
|
|
230
|
-
GetValue(): number;
|
|
231
|
-
/**
|
|
232
|
-
* Return whether the property is set autmatically or not.
|
|
233
|
-
*/
|
|
234
|
-
GetIfAuto(): boolean;
|
|
235
|
-
}
|
|
236
|
-
export interface CameraControlPropertyExtra {
|
|
237
|
-
/**
|
|
238
|
-
* Return the minimum value of the property.
|
|
239
|
-
*/
|
|
240
|
-
GetMinValue(): number;
|
|
241
|
-
/**
|
|
242
|
-
* Return the maximum value of the property.
|
|
243
|
-
*/
|
|
244
|
-
GetMaxValue(): number;
|
|
245
|
-
/**
|
|
246
|
-
* Return the default value of the property.
|
|
247
|
-
*/
|
|
248
|
-
GetDefaultValue(): number;
|
|
249
|
-
/**
|
|
250
|
-
* Return the smallest increment by which the property can change.
|
|
251
|
-
*/
|
|
252
|
-
GetSteppingDelta(): number;
|
|
253
|
-
/**
|
|
254
|
-
* Return whether the property is set autmatically or not.
|
|
255
|
-
*/
|
|
256
|
-
GetIfAuto(): boolean;
|
|
257
|
-
}
|
|
1
|
+
import { DynamsoftEnums as Dynamsoft } from "./Dynamsoft.Enum";
|
|
2
|
+
import { WebTwain } from "./WebTwain";
|
|
3
|
+
|
|
4
|
+
export interface Webcam {
|
|
5
|
+
/**
|
|
6
|
+
* Return whether the Webcam module has been installed.
|
|
7
|
+
*/
|
|
8
|
+
IsModuleInstalled(): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Capture an image from the current camera.
|
|
11
|
+
* @param successCallback A callback function that is executed if the request succeeds.
|
|
12
|
+
* @param failureCallback A callback function that is executed if the request fails.
|
|
13
|
+
* @argument errorCode The error code.
|
|
14
|
+
* @argument errorString The error String
|
|
15
|
+
*/
|
|
16
|
+
CaptureImage(
|
|
17
|
+
successCallback: () => void,
|
|
18
|
+
failureCallback: (
|
|
19
|
+
errorCode: number,
|
|
20
|
+
errorString: string
|
|
21
|
+
) => void
|
|
22
|
+
): void;
|
|
23
|
+
/**
|
|
24
|
+
* Return a list of all available cameras.
|
|
25
|
+
*/
|
|
26
|
+
GetSourceList(): string[];
|
|
27
|
+
/**
|
|
28
|
+
* Select a camera to use.
|
|
29
|
+
* @param name Specify the camera.
|
|
30
|
+
*/
|
|
31
|
+
SelectSource(name: string): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Close the current camera.
|
|
34
|
+
*/
|
|
35
|
+
CloseSource(): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Start to play the video stream from the current camera.
|
|
38
|
+
* @param DWObject Specify a WebTwain instance to show the video.
|
|
39
|
+
* @param quality Specify the quality of the video.
|
|
40
|
+
* @param frameDidShow A callback function that is triggered after each video frame is shown.
|
|
41
|
+
*/
|
|
42
|
+
PlayVideo(
|
|
43
|
+
DWObject: WebTwain,
|
|
44
|
+
quality: number,
|
|
45
|
+
frameDidShow?: () => void
|
|
46
|
+
): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Pause the video.
|
|
49
|
+
*/
|
|
50
|
+
PauseVideo(): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Stop the video.
|
|
53
|
+
*/
|
|
54
|
+
StopVideo(): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Return information about the specified camera property.
|
|
57
|
+
* @param property Specify the property.
|
|
58
|
+
*/
|
|
59
|
+
GetCameraControlPropertySetting(
|
|
60
|
+
property: Dynamsoft.EnumDWT_CameraControlProperty | number
|
|
61
|
+
): CameraControlProperty;
|
|
62
|
+
/**
|
|
63
|
+
* Return detailed information about the specified camera property.
|
|
64
|
+
* @param property Specify the property.
|
|
65
|
+
*/
|
|
66
|
+
GetCameraControlPropertyMoreSetting(
|
|
67
|
+
property: Dynamsoft.EnumDWT_CameraControlProperty | number
|
|
68
|
+
): CameraControlPropertyExtra;
|
|
69
|
+
/**
|
|
70
|
+
* Set the specified camera property.
|
|
71
|
+
* @param property Specify the property.
|
|
72
|
+
* @param value Specify the value.
|
|
73
|
+
* @param auto Specify whether the propery should change automatically.
|
|
74
|
+
*/
|
|
75
|
+
SetCameraControlPropertySetting(
|
|
76
|
+
property: Dynamsoft.EnumDWT_CameraControlProperty | number,
|
|
77
|
+
value: number,
|
|
78
|
+
auto: boolean
|
|
79
|
+
): boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Return information about the specified video property.
|
|
82
|
+
* @param property Specify the property.
|
|
83
|
+
*/
|
|
84
|
+
GetVideoPropertySetting(
|
|
85
|
+
property: Dynamsoft.EnumDWT_VideoProperty | number
|
|
86
|
+
): VideoControlProperty;
|
|
87
|
+
/**
|
|
88
|
+
* Return detailed information about the specified video property.
|
|
89
|
+
* @param property Specify the property.
|
|
90
|
+
*/
|
|
91
|
+
GetVideoPropertyMoreSetting(
|
|
92
|
+
property: Dynamsoft.EnumDWT_VideoProperty | number
|
|
93
|
+
): VideoControlPropertyExtra;
|
|
94
|
+
/**
|
|
95
|
+
* Set the specified video property.
|
|
96
|
+
* @param property Specify the property.
|
|
97
|
+
* @param value Specify the value.
|
|
98
|
+
* @param auto Specify whether the propery should change automatically.
|
|
99
|
+
*/
|
|
100
|
+
SetVideoPropertySetting(
|
|
101
|
+
property: Dynamsoft.EnumDWT_VideoProperty | number,
|
|
102
|
+
value: number,
|
|
103
|
+
auto: boolean
|
|
104
|
+
): boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Return the frame rates supported by the current camera.
|
|
107
|
+
*/
|
|
108
|
+
GetFrameRate(): FrameRate;
|
|
109
|
+
/**
|
|
110
|
+
* Return the media types supported by the current camera.
|
|
111
|
+
*/
|
|
112
|
+
GetMediaType(): MediaType;
|
|
113
|
+
/**
|
|
114
|
+
* Return the resolutions supported by the current camera.
|
|
115
|
+
*/
|
|
116
|
+
GetResolution(): Resolution;
|
|
117
|
+
/**
|
|
118
|
+
* Set the frame rate.
|
|
119
|
+
* @param rate Specify the frame rate.
|
|
120
|
+
*/
|
|
121
|
+
SetFrameRate(rate: number): boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Set the media type.
|
|
124
|
+
* @param type Sepcify the media type.
|
|
125
|
+
*/
|
|
126
|
+
SetMediaType(type: string): boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Set the resolution.
|
|
129
|
+
* @param resolution Specify the resolution.
|
|
130
|
+
*/
|
|
131
|
+
SetResolution(resolution: string): boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Rotate the video.
|
|
134
|
+
* @param mode Specify the rotate mode
|
|
135
|
+
*/
|
|
136
|
+
SetVideoRotateMode(
|
|
137
|
+
mode: Dynamsoft.EnumDWT_VideoRotateMode | number
|
|
138
|
+
): boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Return the URL (http(s)://) for the latest frame.
|
|
141
|
+
*/
|
|
142
|
+
GetFrameURL(): string;
|
|
143
|
+
/**
|
|
144
|
+
* Return the internal URL (dwt://) for the latest frame.
|
|
145
|
+
*/
|
|
146
|
+
GetFramePartURL(): string;
|
|
147
|
+
}
|
|
148
|
+
export interface FrameRate {
|
|
149
|
+
/**
|
|
150
|
+
* Return the number of available frame rates.
|
|
151
|
+
*/
|
|
152
|
+
GetCount(): number;
|
|
153
|
+
/**
|
|
154
|
+
* Return the specified frame rate.
|
|
155
|
+
*/
|
|
156
|
+
Get(index: number): number;
|
|
157
|
+
/**
|
|
158
|
+
* Return the current frame rate.
|
|
159
|
+
*/
|
|
160
|
+
GetCurrent(): number;
|
|
161
|
+
}
|
|
162
|
+
export interface MediaType {
|
|
163
|
+
/**
|
|
164
|
+
* Return the number of available media types.
|
|
165
|
+
*/
|
|
166
|
+
GetCount(): number;
|
|
167
|
+
/**
|
|
168
|
+
* Return the specified media type.
|
|
169
|
+
*/
|
|
170
|
+
Get(index: number): string;
|
|
171
|
+
/**
|
|
172
|
+
* Return the current media type.
|
|
173
|
+
*/
|
|
174
|
+
GetCurrent(): string;
|
|
175
|
+
/**
|
|
176
|
+
* internal use
|
|
177
|
+
*/
|
|
178
|
+
_resultlist: any;
|
|
179
|
+
}
|
|
180
|
+
export interface Resolution {
|
|
181
|
+
/**
|
|
182
|
+
* Return the number of available resolutions.
|
|
183
|
+
*/
|
|
184
|
+
GetCount(): number;
|
|
185
|
+
/**
|
|
186
|
+
* Return the specified resolution.
|
|
187
|
+
*/
|
|
188
|
+
Get(index: number): string;
|
|
189
|
+
/**
|
|
190
|
+
* Return the current resolution.
|
|
191
|
+
*/
|
|
192
|
+
GetCurrent(): string;
|
|
193
|
+
}
|
|
194
|
+
export interface VideoControlProperty {
|
|
195
|
+
/**
|
|
196
|
+
* Return the value of the property.
|
|
197
|
+
*/
|
|
198
|
+
GetValue(): number;
|
|
199
|
+
/**
|
|
200
|
+
* Return whether the property is set autmatically or not.
|
|
201
|
+
*/
|
|
202
|
+
GetIfAuto(): boolean;
|
|
203
|
+
}
|
|
204
|
+
export interface VideoControlPropertyExtra {
|
|
205
|
+
/**
|
|
206
|
+
* Return the minimum value of the property.
|
|
207
|
+
*/
|
|
208
|
+
GetMinValue(): number;
|
|
209
|
+
/**
|
|
210
|
+
* Return the maximum value of the property.
|
|
211
|
+
*/
|
|
212
|
+
GetMaxValue(): number;
|
|
213
|
+
/**
|
|
214
|
+
* Return the default value of the property.
|
|
215
|
+
*/
|
|
216
|
+
GetDefaultValue(): number;
|
|
217
|
+
/**
|
|
218
|
+
* Return the smallest increment by which the property can change.
|
|
219
|
+
*/
|
|
220
|
+
GetSteppingDelta(): number;
|
|
221
|
+
/**
|
|
222
|
+
* Return whether the property is set autmatically or not.
|
|
223
|
+
*/
|
|
224
|
+
GetIfAuto(): boolean;
|
|
225
|
+
}
|
|
226
|
+
export interface CameraControlProperty {
|
|
227
|
+
/**
|
|
228
|
+
* Return the value of the property.
|
|
229
|
+
*/
|
|
230
|
+
GetValue(): number;
|
|
231
|
+
/**
|
|
232
|
+
* Return whether the property is set autmatically or not.
|
|
233
|
+
*/
|
|
234
|
+
GetIfAuto(): boolean;
|
|
235
|
+
}
|
|
236
|
+
export interface CameraControlPropertyExtra {
|
|
237
|
+
/**
|
|
238
|
+
* Return the minimum value of the property.
|
|
239
|
+
*/
|
|
240
|
+
GetMinValue(): number;
|
|
241
|
+
/**
|
|
242
|
+
* Return the maximum value of the property.
|
|
243
|
+
*/
|
|
244
|
+
GetMaxValue(): number;
|
|
245
|
+
/**
|
|
246
|
+
* Return the default value of the property.
|
|
247
|
+
*/
|
|
248
|
+
GetDefaultValue(): number;
|
|
249
|
+
/**
|
|
250
|
+
* Return the smallest increment by which the property can change.
|
|
251
|
+
*/
|
|
252
|
+
GetSteppingDelta(): number;
|
|
253
|
+
/**
|
|
254
|
+
* Return whether the property is set autmatically or not.
|
|
255
|
+
*/
|
|
256
|
+
GetIfAuto(): boolean;
|
|
257
|
+
}
|