LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

Render Method (AnnHtml5RenderingEngine)

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.AnnHtml5RenderingEngine.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 AnnHtml5RenderingEngine implementation of AnnRenderingEngine.Render. It will render the objects in the Leadtools.Annotations.Core.AnnRenderingEngine.Container to the Context. 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

AnnHtml5RenderingEngine Object
AnnHtml5RenderingEngine Members

 

 


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