scalePointsAt Method (AnnTransformer)

Summary

Scales the input LeadPointD values using the specified scale factor and center point.

Syntax

JavaScript Syntax
scalePointsAt = function(points, scaleX, scaleY, centerX, centerY)
TypeScript Syntax
static scalePointsAt(points: LeadPointD[], scaleX: number, scaleY: number, centerX: number, centerY: number): LeadPointD[];

Parameters

points

The LeadPointD array to be scaled.

scaleX

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

scaleY

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

centerX

The value representing the center of the scale operation on the x-axis.

centerY

The value representing the center of the scale operation on the y-axis.

Return Value

The scaled LeadPointD array.

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