scaleVector Method

Summary

Scales the AnnObject by the specified ratios, unit vector and center point.

Syntax
TypeScript
JavaScript
AnnObject.prototype.scaleVector = function( 
   scaleX, 
   scaleY, 
   unitVectorX, 
   unitVectorY, 
   centerPoint 
) 
scaleVector( 
   scaleX: number, 
   scaleY: number, 
   unitVectorX: LeadPointD, 
   unitVectorY: LeadPointD, 
   centerPoint: LeadPointD 
): void; 

Parameters

scaleX

The ratio by which to scale the AnnObject in the x-axis direction.

scaleY

The ratio by which to scale the AnnObject in the y-axis direction.

unitVectorX

The X-axis of the unit vector to use in scaling.

unitVectorY

The T-axis of the unit vector to use in scaling.

centerPoint

A LeadPointD object that represents the center of the scale operation.

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.