ChunkData Constructor

Summary

Initializes a new instance of the ChunkData class with explicit parameters.

Syntax
TypeScript
JavaScript
ChunkData = function( 
   image, 
   rect, 
   resolution, 
   canvas 
) 
constructor( 
   image: HTMLImageElement, 
   rect: LeadRectD, 
   resolution: LeadSizeD, 
   canvas: HTMLCanvasElement 
); 

Parameters

image

The image that contains the row data of the tile (chunk).

rect

The rectangle that contains the position and size of the tile (chunk).

resolution

The resolution of the chunk.

canvas

The canvas that will contain the 16-bit data that are processed from image and is ready to be displayed.

Remarks

To get the canvas that contains the row 16-bit data, refer to BackCanvas

Requirements

Target Platforms

Help Version 23.0.2024.5.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.