[]
        
(Showing Draft Content)

C1.Util.DX.Point2F.Offset

Offset Method

Offset(float, float)

Offsets the point by the specified amount.

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

Offset(Size2F)

Offsets the point by the specified amount.

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

Offset(Point2F)

Offsets the point by the specified amount.

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

Offset(Vector2)

Offsets the point by the specified amount.

Declaration
public void Offset(Vector2 vector)
Public Sub Offset(vector As Vector2)
Parameters
Type Name Description
Vector2 vector

Offset(Point2F, float, float)

Offsets the point by the specified amount.

Declaration
public static Point2F Offset(Point2F pt, float dx, float dy)
Public Shared Function Offset(pt As Point2F, dx As Single, dy As Single) As Point2F
Parameters
Type Name Description
Point2F pt
float dx
float dy
Returns
Type Description
Point2F

Offset(Point2F, Size2F)

Offsets the point by the specified amount.

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

Offset(Point2F, Point2F)

Offsets the point by the specified amount.

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

Offset(Point2F, Vector2)

Offsets the point by the specified amount.

Declaration
public static Point2F Offset(Point2F pt, Vector2 offset)
Public Shared Function Offset(pt As Point2F, offset As Vector2) As Point2F
Parameters
Type Name Description
Point2F pt
Vector2 offset
Returns
Type Description
Point2F