Skip to content

Commit 8e64915

Browse files
Remove commented-out API method documentation from acquisition and drawingitem references
1 parent 95062de commit 8e64915

3 files changed

Lines changed: 30 additions & 33 deletions

File tree

programming/javascript/api-reference/acquisition.md

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,34 @@ permalink: /programming/javascript/api-reference/acquisition.html
1414

1515
| Name | Description |
1616
| ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
17-
| [addImageToBuffer](#addImageToBuffer) | Adds an image to the internal buffer. |
18-
| [clearBuffer](#clearBuffer) | Clears all images from the buffer, resetting the state for new image fetching. |
17+
<!-- | [addImageToBuffer](#addImageToBuffer) | Adds an image to the internal buffer. | -->
18+
<!-- | [clearBuffer](#clearBuffer) | Clears all images from the buffer, resetting the state for new image fetching. | -->
1919
| [fetchImage](#fetchImage) | Fetches the current frame from the camera's video feed. |
20-
| [getBufferOverflowProtectionMode](#getBufferOverflowProtectionMode) | Retrieves the current mode for handling buffer overflow. |
20+
<!-- | [getBufferOverflowProtectionMode](#getBufferOverflowProtectionMode) | Retrieves the current mode for handling buffer overflow. | -->
2121
| [getColourChannelUsageType](#getColourChannelUsageType) | Retrieves the current usage type for color channels in images. |
2222
| [getImage](#getImage) | Retrieves a buffered image, of type `DSImageData`. |
23-
| [getImageCount](#getImageCount) | Retrieves the current number of images in the buffer. |
24-
| [getImageFetchInterval](#getImageFetchInterval) | Retrieves the current interval at which images are continuously fetched from the camera's video feed. |
25-
| [getMaxImageCount](#getMaxImageCount) | Retrieves the maximum number of images that can be buffered. |
23+
<!-- | [getImageCount](#getImageCount) | Retrieves the current number of images in the buffer. | -->
24+
<!-- | [getImageFetchInterval](#getImageFetchInterval) | Retrieves the current interval at which images are continuously fetched from the camera's video feed. | -->
25+
<!-- | [getMaxImageCount](#getMaxImageCount) | Retrieves the maximum number of images that can be buffered. | -->
2626
| [getPixelFormat](#getPixelFormat) | Retrieves the current pixel format used for images fetched from the camera. |
2727
| [getScanRegion](#getScanRegion) | Retrieves the current scan region set within the camera's view. |
28-
| [hasImage](#hasImage) | Checks if an image with the specified ID is present in the buffer. |
28+
<!-- | [hasImage](#hasImage) | Checks if an image with the specified ID is present in the buffer. | -->
2929
| [hasNextImageToFetch](#hasNextImageToFetch) | Determines whether there are more images available to fetch. |
3030
| [isBufferEmpty](#isBufferEmpty) | Determines whether the buffer is currently empty. |
31-
| [setBufferOverflowProtectionMode](#setBufferOverflowProtectionMode) | Sets the behavior for handling new incoming images when the buffer is full. |
31+
<!-- | [setBufferOverflowProtectionMode](#setBufferOverflowProtectionMode) | Sets the behavior for handling new incoming images when the buffer is full. | -->
3232
| [setColourChannelUsageType](#setColourChannelUsageType) | Sets the usage type for color channels in images. |
33-
| [setErrorListener](#setErrorListener) | Sets an error listener to receive notifications about errors that occur during image source operations. |
34-
| [setImageFetchInterval](#setImageFetchInterval) | Sets the interval at which images are continuously fetched from the camera's video feed. |
35-
| [setMaxImageCount](#setMaxImageCount) | Sets the maximum number of images that can be buffered at any time. |
36-
| [setNextImageToReturn](#setNextImageToReturn) | Sets the processing priority of a specific image so that it is returned the next time `getImage()` is called. |
33+
<!-- | [setErrorListener](#setErrorListener) | Sets an error listener to receive notifications about errors that occur during image source operations. | -->
34+
<!-- | [setImageFetchInterval](#setImageFetchInterval) | Sets the interval at which images are continuously fetched from the camera's video feed. | -->
35+
<!-- | [setMaxImageCount](#setMaxImageCount) | Sets the maximum number of images that can be buffered at any time. | -->
36+
<!-- | [setNextImageToReturn](#setNextImageToReturn) | Sets the processing priority of a specific image so that it is returned the next time `getImage()` is called. | -->
3737
| [setPixelFormat](#setPixelFormat) | Sets the pixel format for the images fetched from the camera. |
3838
| [setScanRegion](#setScanRegion) | Sets the scan region within the camera's view which limits the frame acquisition to a specific area of the video feed. |
3939
| [singleFrameMode](#singleFrameMode) | Controls the single-frame mode of the `CameraEnhancer`. |
40-
| [startFetching](#startFetching) | Starts the process of fetching images. |
41-
| [stopFetching](#stopFetching) | Stops the process of fetching images. |
40+
<!-- | [startFetching](#startFetching) | Starts the process of fetching images. | -->
41+
<!-- | [stopFetching](#stopFetching) | Stops the process of fetching images. | -->
4242
| [takePhoto](#takePhoto) | Initiates a sequence to capture a single frame/image, halting the video stream temporarily. |
4343

44+
<!--
4445
## addImageToBuffer
4546
4647
Adds an image to the internal buffer.
@@ -85,6 +86,7 @@ None.
8586
```javascript
8687
cameraEnhancer.clearBuffer()
8788
```
89+
-->
8890

8991
## fetchImage
9092

@@ -115,6 +117,7 @@ document.body.appendChild(image.toCanvas());
115117

116118
[DCEFrame](interface/dceframe.md)
117119

120+
<!--
118121
## getBufferOverflowProtectionMode
119122
120123
Retrieves the current mode for handling buffer overflow.
@@ -140,6 +143,7 @@ cameraEnhancer.getBufferOverflowProtectionMode();
140143
**See also**
141144
142145
[EnumBufferOverflowProtectionMode](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/buffer-overflow-protection-mode.html?lang=js)
146+
-->
143147

144148
## getColourChannelUsageType
145149

@@ -195,6 +199,7 @@ document.body.appendChild(image.toCanvas());
195199

196200
[DCEFrame](interface/dceframe.md)
197201

202+
<!--
198203
## getImageCount
199204
200205
Retrieves the current number of images in the buffer.
@@ -260,6 +265,7 @@ The maximum image count for the buffer.
260265
```javascript
261266
let bufferSize = cameraEnhancer.getMaxImageCount();
262267
```
268+
-->
263269

264270
## getPixelFormat
265271

@@ -314,6 +320,7 @@ let region = cameraEnhancer.getScanRegion();
314320

315321
[DSRect](https://www.dynamsoft.com/capture-vision/docs/web/programming/javascript/api-reference/core/basic-structures/ds-rect.html)
316322

323+
<!--
317324
## hasImage
318325
319326
Checks if an image with the specified ID is present in the buffer.
@@ -335,6 +342,7 @@ Boolean indicating whether the image is present in the buffer.
335342
```javascript
336343
console.log(cameraEnhancer.hasImage(10));
337344
```
345+
-->
338346

339347
## hasNextImageToFetch
340348

@@ -384,6 +392,7 @@ if(cameraEnhancer.isBufferEmpty()) {
384392
}
385393
```
386394

395+
<!--
387396
## setBufferOverflowProtectionMode
388397
389398
Sets the behavior for handling new incoming images when the buffer is full.
@@ -409,6 +418,7 @@ cameraEnhancer.setBufferOverflowProtectionMode(Dynamsoft.Core.EnumBufferOverflow
409418
**See also**
410419
411420
[EnumBufferOverflowProtectionMode](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/buffer-overflow-protection-mode.html?lang=js)
421+
-->
412422

413423
## setColourChannelUsageType
414424

@@ -436,6 +446,7 @@ cameraEnhancer.setColourChannelUsageType(Dynamsoft.Core.EnumColourChannelUsageTy
436446

437447
[EnumColourChannelUsageType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/colour-channel-usage-type.html?lang=js)
438448

449+
<!--
439450
## setErrorListener
440451
441452
Sets an error listener to receive notifications about errors that occur during image source operations.
@@ -555,6 +566,7 @@ None.
555566
```javascript
556567
cameraEnhancer.startFetching();
557568
```
569+
-->
558570

559571
## setPixelFormat
560572

@@ -658,6 +670,7 @@ singleFrameMode: "disabled" | "camera" | "image";
658670

659671
> As shown in the code snippet above, `singleFrameMode` should be set before calling `open()`.
660672
673+
<!--
661674
## stopFetching
662675
663676
Stops the process of fetching images.
@@ -679,6 +692,7 @@ None.
679692
```javascript
680693
cameraEnhancer.stopFetching();
681694
```
695+
-->
682696

683697
## takePhoto
684698

programming/javascript/api-reference/drawingitem.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ In this version, the subclasses include:
2424

2525
| Name | Description |
2626
| --------------------------------- | ------------------------------------------------------------------------------------------------------ |
27-
| [coordinateBase](#coordinatebase) | Returns or sets the coordinate system base. |
2827
| [drawingLayerId](#drawinglayerid) | Returns the numeric ID for the `DrawingLayer` this `DrawingItem` belongs to. |
2928
| [drawingStyleId](#drawingstyleid) | Returns or sets the numeric ID for the `DrawingStyle` that applies to this `DrawingItem`. |
3029
| [mediaType](#mediatype) | Returns an enumeration value which indicates the type of this `DrawingItem` (e.g., image, line, text). |
@@ -39,7 +38,7 @@ In this version, the subclasses include:
3938
| [deleteNote()](#deletenote) | Deletes a `Note` object specified by its name. |
4039
| [clearNotes()](#clearnotes) | Deletes all `Note` objects on this `DrawingItem`. |
4140

42-
## coordinateBase
41+
<!-- ## coordinateBase
4342
4443
Returns or sets the coordinate system base with a string:
4544
@@ -48,8 +47,7 @@ Returns or sets the coordinate system base with a string:
4847
4948
```typescript
5049
coordinateBase: string;
51-
```
52-
50+
``` -->
5351
## drawingLayerId
5452

5553
Returns the numeric ID for the `DrawingLayer` this `DrawingItem` belongs to.

programming/javascript/api-reference/index.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,31 +75,17 @@ breadcrumbText: API Reference
7575

7676
| Name | Description |
7777
| ----------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
78-
| [addImageToBuffer](./acquisition.md#addImageToBuffer) | Adds an image to the internal buffer. |
79-
| [clearBuffer](./acquisition.md#clearBuffer) | Clears all images from the buffer, resetting the state for new image fetching. |
8078
| [fetchImage](./acquisition.md#fetchImage) | Fetches the current frame from the camera's video feed. |
81-
| [getBufferOverflowProtectionMode](./acquisition.md#getBufferOverflowProtectionMode) | Retrieves the current mode for handling buffer overflow. |
8279
| [getColourChannelUsageType](./acquisition.md#getColourChannelUsageType) | Retrieves the current usage type for color channels in images. |
8380
| [getImage](./acquisition.md#getImage) | Retrieves a buffered image, of type `DSImageData`. |
84-
| [getImageCount](./acquisition.md#getImageCount) | Retrieves the current number of images in the buffer. |
85-
| [getImageFetchInterval](./acquisition.md#getImageFetchInterval) | Retrieves the current interval at which images are continuously fetched from the camera's video feed. |
86-
| [getMaxImageCount](./acquisition.md#getMaxImageCount) | Retrieves the maximum number of images that can be buffered. |
8781
| [getPixelFormat](./acquisition.md#getPixelFormat) | Retrieves the current pixel format used for images fetched from the camera. |
8882
| [getScanRegion](./acquisition.md#getScanRegion) | Retrieves the current scan region set within the camera's view. |
89-
| [hasImage](./acquisition.md#hasImage) | Checks if an image with the specified ID is present in the buffer. |
9083
| [hasNextImageToFetch](./acquisition.md#hasNextImageToFetch) | Determines whether there are more images available to fetch. |
9184
| [isBufferEmpty](./acquisition.md#isBufferEmpty) | Determines whether the buffer is currently empty. |
92-
| [setBufferOverflowProtectionMode](./acquisition.md#setBufferOverflowProtectionMode) | Sets the behavior for handling new incoming images when the buffer is full. |
9385
| [setColourChannelUsageType](./acquisition.md#setColourChannelUsageType) | Sets the usage type for color channels in images. |
94-
| [setErrorListener](./acquisition.md#setErrorListener) | Sets an error listener to receive notifications about errors that occur during image source operations. |
95-
| [setImageFetchInterval](./acquisition.md#setImageFetchInterval) | Sets the interval at which images are continuously fetched from the camera's video feed. |
96-
| [setMaxImageCount](./acquisition.md#setMaxImageCount) | Sets the maximum number of images that can be buffered at any time. |
97-
| [setNextImageToReturn](./acquisition.md#setNextImageToReturn) | Sets the processing priority of a specific image so that it is returned the next time `getImage()` is called. |
9886
| [setPixelFormat](./acquisition.md#setPixelFormat) | Sets the pixel format for the images fetched from the camera. |
9987
| [setScanRegion](./acquisition.md#setScanRegion) | Sets the scan region within the camera's view which limits the frame acquisition to a specific area of the video feed. |
10088
| [singleFrameMode](./acquisition.md#singleFrameMode) | Controls the single-frame mode of the `CameraEnhancer`. |
101-
| [startFetching](./acquisition.md#startFetching) | Starts the process of fetching images. |
102-
| [stopFetching](./acquisition.md#stopFetching) | Stops the process of fetching images. |
10389
| [takePhoto](./acquisition.md#takePhoto) | Initiates a sequence to capture a single frame/image, halting the video stream temporarily. |
10490

10591
### UI
@@ -185,7 +171,6 @@ breadcrumbText: API Reference
185171

186172
| Name | Description |
187173
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
188-
| [coordinateBase](./drawingitem.md#coordinatebase) | Returns or sets the coordinate system base. |
189174
| [drawingLayerId](./drawingitem.md#drawinglayerid) | Returns the numeric ID for the `DrawingLayer` this `DrawingItem` belongs to. |
190175
| [drawingStyleId](./drawingitem.md#drawingstyleid) | Returns or sets the numeric ID for the `DrawingStyle` that applies to this `DrawingItem`. |
191176
| [mediaType](./drawingitem.md#mediatype) | Returns an enumeration value which indicates the type of this `DrawingItem` (e.g., image, line, text). |

0 commit comments

Comments
 (0)