System::Drawing::Point::Add method
Contents
[
Hide
]Point::Add method
Adds the width and height values of the specified Size object to the X and Y coordinates values of the specified Point object correspondingly.
static Point System::Drawing::Point::Add(const Point &point, const Size &size)
Parameter | Type | Description |
---|---|---|
point | const Point& | The point to translate |
size | const Size& | The Size object that specifies the values to add to the coordinates values of the point |
ReturnValue
A new Point object whose X coordinate value is equal to the sum of X coordinate value of point and the width value of size and Y coordinate value is equal to the sum of Y coordinate value of point and the height value of size
See Also
- Class Point
- Class Size
- Class Point
- Namespace System::Drawing
- Library Aspose.TeX for C++