| FoxitPDFSDKforWeb v11.0.4
    
    Foxit PDF SDK for Web | 
This module contains the API related to the overlay comparison function. More...
| Classes | |
| interface | BlendColorResolverOptions | 
| Options of BlendColorResolver callback.  More... | |
| interface | CombinePixelsOptions | 
| Options to handle pixel-diff and combine-pixels algorithms.  More... | |
| interface | ImageData | 
| Image data used for overlay comparison, which can be obtained through PDFPage.render or CanvasRenderingContext2D.getImageData or CanvasRenderingContext2D.createImageData.  More... | |
| interface | OverlayComparisonOptions | 
| Options for OverlayComparisonService.compareImageData.  More... | |
| class | OverlayComparisonOptionsService | 
| class | OverlayComparisonService | 
| Overlay comparison function entry, this instance must be obtained through PDFViewer.getOverlayComparisonService method.  More... | |
| interface | OverlayComparisonTransformationOptions | 
| Transformation parameters of the target image data.  More... | |
| Enumerations | |
| enum | DiffColor { RED = 0xFF0000, GREEN = 0x00FF00, BLUE = 0x0000FF, MAGENTA = 0xFF00FF, YELLOW = 0xFFFF00, CYAN = 0x00FFFF } | 
| Diff color enumeration of source and target documents for overlay comparisons.  More... | |
| Variables | |
| type | BlendColorResolver = (options: BlendColorResolverOptions) => number|Color | 
| Callback function for calculating pixel point blending colors.  More... | |
| type | CombinePixelsOptionsKey = keyof CombinePixelsOptions | 
| Union type of CombinePixelsOptions property name.  More... | |
| type | OnOptionChangeCallback = (newValue:CombinePixelsOptions[CombinePixelsOptionsKey])=>void | 
| A callback to handle the changes of CombinePixelsOptions.  More... | |
This module contains the API related to the overlay comparison function.
| enum DiffColor | 
Diff color enumeration of source and target documents for overlay comparisons.
| Enumerator | |
|---|---|
| RED | 0xFF0000 | 
| GREEN | 0x00FF00 | 
| BLUE | 0x0000FF | 
| MAGENTA | 0xFF00FF | 
| YELLOW | 0xFFFF00 | 
| CYAN | 0x00FFFF | 
| type BlendColorResolver = (options: BlendColorResolverOptions) => number|Color | 
Callback function for calculating pixel point blending colors.
| options | BlendColorResolverOptions - | 
| type CombinePixelsOptionsKey = keyof CombinePixelsOptions | 
Union type of CombinePixelsOptions property name.
| type OnOptionChangeCallback = (newValue:CombinePixelsOptions[CombinePixelsOptionsKey])=>void | 
A callback to handle the changes of CombinePixelsOptions.
| newValue | CombinePixelsOptions[CombinePixelsOptionsKey] - The new option value that has changed. |