renderShape Method

Summary

Renders the shape of a AnnTextReviewObject object.

Syntax

JavaScript Syntax
AnnTextReviewObjectRenderer.prototype.renderShape = function(mapper, annTextReviewObject, context, rect) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly