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 20.0.2019.10.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly