scaleVector Method (AnnTextReviewObject)

Summary

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

Syntax

JavaScript Syntax
AnnTextReviewObject.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 AnnTextReviewObject in the x-axis direction.

scaleY

The ratio by which to scale the AnnTextReviewObject 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.

Remarks

This implementation overrides this method to ignore the default behavior since this object type does not support scaling.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize