scaleVector Method

Summary

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

Syntax

JavaScript Syntax
AnnObject.prototype.scaleVector = function( 
   scaleX, 
   scaleY, 
   unitVectorX, 
   unitVectorY, 
   centerPoint 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly