render Method

Summary

Renders the container to the specified destination rectangle.

Syntax

JavaScript Syntax
AnnSvgRenderingEngine.prototype.render = function(clipRect, clear) 
TypeScript Syntax
render(clipRect: LeadRectD, clear: boolean): void; 

Parameters

clipRect

The destination clip rectangle LeadRectD in container coordinates. The engine will only render into this area. Pass

LeadRectD.Empty to not use a clip rectangle.

clear

true to clear the background of the context, otherwise; false.

Remarks

This is AnnSvgRenderingEngine implementation of AnnRenderingEngine.Render. It will render the objects in the Container by adding (or updating) the SVG elements to Element. The container objects might be scaled to fit into the destination rectangle.

This method uses the mapper in Container to calculate the destination rectangle and any other transform to be applied.

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