setStroke Method

Summary

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

Syntax
TypeScript
JavaScript
setStroke = function( 
   context, 
   stroke 
) 
static setStroke( 
   context: CanvasRenderingContext2D, 
   stroke: AnnStroke 
): void; 

Parameters

context

The destination canvas context.

stroke

The stroke to set.

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.