←Select platform

Offset Method

Summary

Moves the rectangle by the specified horizontal and vertical amounts.

Syntax
C#
VB
C++
Java
public void Offset( 
   double offsetX, 
   double offsetY 
) 
Public Sub Offset( _ 
   ByVal offsetX As Double, _ 
   ByVal offsetY As Double _ 
)  
public void offset(double offsetX, double offsetY) 
public: 
void Offset(  
   double offsetX, 
   double 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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly