renderShape Method

Summary

Renders the shape of an AnnTextReviewObject object.

Syntax
TypeScript
JavaScript
AnnTextReviewObjectRenderer.prototype.renderShape = function( 
   mapper, 
   annTextReviewObject, 
   context, 
   rect 
) 
renderShape( 
   mapper: AnnContainerMapper, 
   annTextReviewObject: AnnTextReviewObject, 
   context: CanvasRenderingContext2D, 
   rect: LeadRectD 
): void; // protected 

Parameters

mapper

The mapper object to use for converting coordinates. Must not be null.

annTextReviewObject

The object to render. Must not be null.

context

The graphics context to use when rendering the object.

rect

Rectangle area to render this shape.

Remarks

This method is called by this renderer for each rectangle in the AnnTextReviewObject. The derived classes can render the exact shape required in rect.

Requirements

Target Platforms

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

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