Offset()

Point::Offset(int, int) method

Offsets the X and Y coordinates value represented by the current object by the specified values.

void System::Drawing::Point::Offset(int dx, int dy)

Arguments

ParameterTypeDescription
dxintThe value to offset the X coordinate value by
dyintThe value to offset the Y coordinate value by

Point::Offset(Point) method

Offsets the X and Y coordinates represented by the current object by the values of X and Y coordinates represented by the specified Point object correspondingly.

void System::Drawing::Point::Offset(Point point)

Arguments

ParameterTypeDescription
pointPointThe Point object specifying the values to offset the X and Y coordinates by

See Also