LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

AnnHtml5RenderingEngine Object

Show in webframe
Members 
Represents the annotation rendering engine implementation for the HTML 5 platform using a Canvas element.
Syntax
function Leadtools.Annotations.Rendering.AnnHtml5RenderingEngine() 
Remarks

AnnHtml5RenderingEngine is the rendering engine implementation for the HTML 5 platform. This class derives from Leadtools.Annotations.Core.AnnRenderingEngine and implements the required methods to render annotation objects to an HTML 5 canvas.

The HTML 5 image viewer automation control can create an instance of the AnnHtml5RenderingEngine and uses it to create an automated annotation user interface tied with the LEADTOOLS HTML 5 Leadtools.Controls.ImageViewer control.

In addition to the above, this class contains the following members:

Member Description
Context

This is the destination HTML 5 canvas context 2d object to use when rendering and the annotation objects.

SetFont

Represents a helper method to set an Leadtools.Annotations.Core.AnnFont in a HTML 5 canvas context

MeasureTextHeight

Represents a helper method to measure the text height of an Leadtools.Annotations.Core.AnnFont in a HTML 5 canvas context

SetFill

Represents a helper method to set an Leadtools.Annotations.Core.AnnBrush in a HTML 5 canvas context

SetStroke

Represents a helper method to set an Leadtools.Annotations.Core.AnnStroke in a HTML 5 canvas context

DrawCurve

Represents a helper method to draw a curve in a HTML 5 canvas context

DrawClosedCurve

Represents a helper method to draw a closed curve in a HTML 5 canvas context

DrawEllipse

Represents a helper method to draw an ellipse in a HTML 5 canvas context

DrawPicture

Represents a helper method to draw an Leadtools.Annotations.Core.AnnPicture in a HTML 5 canvas context

See Also

Reference

AnnHtml5RenderingEngine Members
Leadtools.Annotations.Rendering Namespace
Programming with LEADTOOLS Annotations

 

 


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