drawCurve Method (AnnHtml5RenderingEngine)

Summary

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

Syntax

JavaScript Syntax
drawCurve = function(context, points, tension)
TypeScript Syntax
static drawCurve(context: CanvasRenderingContext2D, points: LeadPointD[], tension: number): void;

Parameters

context

The destination canvas context.

points

The curve points.

tension

The tension value to use.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Rendering Assembly
Click or drag to resize