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

Leadtools.Annotations.Engine Assembly