rotatePointAt Method

Summary

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

Syntax
TypeScript
JavaScript
rotatePointAt = function( 
   point, 
   angle, 
   centerX, 
   centerY 
) 
static rotatePointAt( 
   point: LeadPointD, 
   angle: number, 
   centerX: number, 
   centerY: number 
): LeadPointD; 

Parameters

point

The LeadPointD to be rotated.

angle

The angle to rotate the LeadPointD.

centerX

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

centerY

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

Return Value

The rotated LeadPointD.

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.