addPath Method

Summary

Draw the thumb shape.

Syntax
TypeScript
JavaScript
AnnThumbStyle.prototype.addPath = function( 
   context, 
   rect 
) 
addPath( 
   context: CanvasRenderingContext2D, 
   rect: LeadRectD 
): void; // protected 

Parameters

context

Destination context.

rect

Bounding rectangle in physical coordinates.

Remarks

This method must be implemented by the derived classes to draw the thumb shape. For more information, refer to Render.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly