rotateRectAt Method

Summary

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

Syntax

JavaScript Syntax
rotateRectAt = function(rect, angle, centerX, centerY) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly