[]
        
(Showing Draft Content)

C1.Util.DX.Point2L.Offset

Offset Method

Offset(int, int)

Offsets the point by the specified amount.

Declaration
public void Offset(int dx, int dy)
Public Sub Offset(dx As Integer, dy As Integer)
Parameters
Type Name Description
int dx
int dy

Offset(Size2L)

Offsets the point by the specified amount.

Declaration
public void Offset(Size2L sz)
Public Sub Offset(sz As Size2L)
Parameters
Type Name Description
Size2L sz

Offset(Point2L)

Offsets the point by the specified amount.

Declaration
public void Offset(Point2L pt)
Public Sub Offset(pt As Point2L)
Parameters
Type Name Description
Point2L pt

Offset(Point2L, int, int)

Offsets the point by the specified amount.

Declaration
public static Point2L Offset(Point2L pt, int dx, int dy)
Public Shared Function Offset(pt As Point2L, dx As Integer, dy As Integer) As Point2L
Parameters
Type Name Description
Point2L pt
int dx
int dy
Returns
Type Description
Point2L

Offset(Point2L, Size2L)

Offsets the point by the specified amount.

Declaration
public static Point2L Offset(Point2L pt, Size2L sz)
Public Shared Function Offset(pt As Point2L, sz As Size2L) As Point2L
Parameters
Type Name Description
Point2L pt
Size2L sz
Returns
Type Description
Point2L

Offset(Point2L, Point2L)

Offsets the point by the specified amount.

Declaration
public static Point2L Offset(Point2L point1, Point2L point2)
Public Shared Function Offset(point1 As Point2L, point2 As Point2L) As Point2L
Parameters
Type Name Description
Point2L point1
Point2L point2
Returns
Type Description
Point2L