setStroke Method (AnnHtml5RenderingEngine)

Summary

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

Syntax

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

Parameters

context

The destination canvas context.

stroke

The stroke to set.

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