←Select platform

ScalePointsAt Method

Summary

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

Syntax
C#
VB
Java
Objective-C
C++
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
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 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly