rotateRectAt Method

Summary

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

Syntax
TypeScript
JavaScript
rotateRectAt = function( 
   rect, 
   angle, 
   centerX, 
   centerY 
) 
static rotateRectAt( 
   rect: LeadRectD, 
   angle: number, 
   centerX: number, 
   centerY: number 
): LeadRectD; 

Parameters

rect

The LeadRectD to be rotated.

angle

The angle to rotate the LeadRectD.

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 LeadRectD.

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.