renderShape Method

Summary

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

Leadtools.Annotations.Rendering.JavaScript Assembly