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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly