←Select platform

Offset Method

Summary

Moves the rectangle by the specified horizontal and vertical amounts.

Syntax

C#
VB
Java
C++
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 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly