[]
        
(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)
Parameters
Type Name Description
float dx
float dy

Offset(Size2F)

Offsets the point by the specified amount.

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

Offset(Point2F)

Offsets the point by the specified amount.

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

Offset(Vector2)

Offsets the point by the specified amount.

Declaration
public void Offset(Vector2 vector)
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)
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)
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)
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)
Parameters
Type Name Description
Point2F pt
Vector2 offset
Returns
Type Description
Point2F