←Select platform

Offset Method

Summary
Moves the rectangle by the specified horizontal and vertical amounts.
Syntax
C#
C++/CLI
Java
Python
public void Offset( 
   double offsetX, 
   double offsetY 
) 
public void offset( 
   double doubleValue,  
   double doubleValue2 
); 
public: 
void Offset(  
   double offsetX, 
   double offsetY 
)  
def Offset(self,offsetX,offsetY): 

Parameters

offsetX
The amount to move the rectangle horizontally.

offsetY
The amount to move the rectangle vertically.

Remarks

You cannot change the values of the Empty rectangle.

Requirements

Target Platforms

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

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