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

Leadtools.Annotations.Engine Assembly