LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

Render Method (AnnSvgRenderingEngine)

Show in webframe
The destination clip rectangle Leadtools.LeadRectD in container coordinates. The engine will only render into this area. Pass LeadRectD.Empty to not use a clip rectangle.
true to clear the background of the context, otherwise; false.
Renders the container to the specified destination rectangle.
Syntax
 function Leadtools.Annotations.Rendering.AnnSvgRenderingEngine.render( 
   clipRect ,
   clear 
)

Parameters

ParameterTypeDescription
clipRectLeadRectDThe destination clip rectangle Leadtools.LeadRectD in container coordinates. The engine will only render into this area. Pass LeadRectD.Empty to not use a clip rectangle.
clearbooltrue to clear the background of the context, otherwise; false.
Remarks

This is AnnSvgRenderingEngine implementation of AnnRenderingEngine.Render. It will render the objects in the Leadtools.Annotations.Core.AnnRenderingEngine.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 Leadtools.Annotations.Core.AnnRenderingEngine.Container to calculate the destination rectangle and any other transform to be applied.

See Also

Reference

AnnSvgRenderingEngine Object
AnnSvgRenderingEngine Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.