←Select platform

ScalePointsAt Method

Summary
Scales the input Leadtools.LeadPointD values using the specified scale factor and center point.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public static LeadPointD[] ScalePointsAt( 
   LeadPointD[] points, 
   double scaleX, 
   double scaleY, 
   double centerX, 
   double centerY 
) 
+(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 
   ) 
def ScalePointsAt(self,] points,scaleX,scaleY,centerX,centerY): 

Parameters

points
The Leadtools.LeadPointD array to be scaled.

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.

Return Value

The scaled Leadtools.LeadPointD array.

Requirements

Target Platforms

Help Version 22.0.2023.7.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.