rotateAtPoints Method

Summary

Rotates the input LeadPointD values using the specified angle and center point.

Syntax
TypeScript
JavaScript
rotateAtPoints = function( 
   points, 
   angle, 
   centerX, 
   centerY 
) 
static rotateAtPoints( 
   points: LeadPointD[], 
   angle: number, 
   centerX: number, 
   centerY: number 
): LeadPointD[]; 

Parameters

points

The LeadPointD array to be rotated.

angle

The angle to rotate the LeadPointD values.

centerX

The value representing the center point of rotation on the x-axis.

centerY

The value representing the center point of rotation on the y-axis.

Return Value

The rotated LeadPointD array.

Requirements

Target Platforms

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

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