←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
WinRT C#
C++
public static LeadPointD[] ScalePointsAt( 
   LeadPointD[] points, 
   double scaleX, 
   double scaleY, 
   double centerX, 
   double centerY 
) 
Public Shared Function ScalePointsAt( _ 
   ByVal points() As Leadtools.LeadPointD, _ 
   ByVal scaleX As Double, _ 
   ByVal scaleY As Double, _ 
   ByVal centerX As Double, _ 
   ByVal centerY As Double _ 
) As Leadtools.LeadPointD() 
public static [Leadtools.LeadPointD[]](../l/leadpointd.md) ScalePointsAt(  
   Leadtools.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 
) 
             
 function Leadtools.Annotations.Core.AnnTransformer.ScalePointsAt(  
   points , 
   scaleX , 
   scaleY , 
   centerX , 
   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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly