translatePoints Method

Summary

Translates the transformation matrix of the input LeadPointD values by the specified values.

Syntax
TypeScript
JavaScript
translatePoints = function( 
   points, 
   offsetX, 
   offsetY 
) 
static translatePoints( 
   points: LeadPointD[], 
   offsetX: number, 
   offsetY: number 
): LeadPointD[]; 

Parameters

points

The LeadPointD array to be translated.

offsetX

The x value by which to translate the LeadPointD values.

offsetY

The y value by which to translate the LeadPointD values.

Return Value

The translated LeadPointD array.

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.Engine Assembly