﻿ ScalePointsAt Method (AnnTransformer) | Leadtools.Annotations.Engine | Raster, Medical, Document Help
←Select platform
In This Topic ▼

# ScalePointsAt Method

Summary
Scales the input Leadtools.LeadPointD values using the specified scale factor and center point.
Syntax
C#
VB
Objective-C
C++
Java
````public static LeadPointD[] ScalePointsAt( `
`   LeadPointD[] points, `
`   double scaleX, `
`   double scaleY, `
`   double centerX, `
`   double centerY `
`) ````
````Public Shared Function ScalePointsAt( _ `
`   ByVal points() As LeadPointD, _ `
`   ByVal scaleX As Double, _ `
`   ByVal scaleY As Double, _ `
`   ByVal centerX As Double, _ `
`   ByVal centerY As Double _ `
`) As LeadPointD() ````
````+(LTLeadPointCollection*) scalePoints:(LTLeadPointCollection*) points  `
`                               scaleX:(double) scaleX `
`                               scaleY:(double) scaleY `
`                              centerX:(double) centerX `
`                              centerY:(double) centerY; ````
````public static LeadPointD[] scalePointsAt( `
`   LeadPointD[] points, `
`   double scaleX, `
`   double scaleY, `
`   double centerX, `
`   double centerY `
`) ````
````public:  `
`   static array<LeadPointD^>^ ScalePointsAt( `
`      array<LeadPointD^>^ points, `
`      double scaleX, `
`      double scaleY, `
`      double centerX, `
`      double centerY `
`   ) ````

#### Parameters

points

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

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