←Select platform

RotateRectAt Method

Summary
Rotates the input Leadtools.LeadRectD using the specified angle and center point.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public static LeadRectD RotateRectAt( 
   LeadRectD rect, 
   double angle, 
   double centerX, 
   double centerY 
) 
+(LeadRectD) rotateRect:(LeadRectD) rect  
                  angle:(double) angle 
                centerX:(double) cx 
                centerY:(double) cy; 
public static LeadRectD rotateRectAt( 
   LeadRectD rect, 
   double angle, 
   double centerX, 
   double centerY 
) 
public:  
   static LeadRectD^ RotateRectAt( 
      LeadRectD^ rect, 
      double angle, 
      double centerX, 
      double centerY 
   ) 
def RotateRectAt(self,rect,angle,centerX,centerY): 

Parameters

rect
The Leadtools.LeadRectD to be rotated.

angle
The angle to rotate the Leadtools.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 Leadtools.LeadRectD.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.