RotateRectAt Method (original) (raw)
Syntax
C#
Objective-C
C++/CLI
Java
Python
public static [LeadRectD](../l/leadrectd.html) RotateRectAt(
[LeadRectD](../l/leadrectd.html) _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](../l/leadrectd.html)^ RotateRectAt(
[LeadRectD](../l/leadrectd.html)^ _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.