drawClosedCurve Method

Summary

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

Syntax
TypeScript
JavaScript
drawClosedCurve = function( 
   context, 
   points, 
   tension 
) 
static drawClosedCurve( 
   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
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.