scalePointAt Method

Summary

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

Syntax

JavaScript Syntax
scalePointAt = function(point, scaleX, scaleY, centerX, centerY) 
TypeScript Syntax
static scalePointAt(point: LeadPointD, scaleX: number, scaleY: number, centerX: number, centerY: number): LeadPointD; 

Parameters

point

The LeadPointD to be scaled.

scaleX

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

scaleY

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

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