System::Drawing::PointF::Add method
Contents
[
Hide
]PointF::Add(const PointF&, const Size&) method
Adds the width and height values of the specified Size object to the X and Y coordinates values of the specified PointF object correspondingly.
static PointF System::Drawing::PointF::Add(const PointF &point, const Size &size)
Parameter | Type | Description |
---|---|---|
point | const PointF& | 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 PointF 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 PointF
- Class Size
- Class PointF
- Namespace System::Drawing
- Library Aspose.PUB for C++
PointF::Add(const PointF&, const SizeF&) method
Adds the width and height values of the specified SizeF object to the X and Y coordinates values of the specified PointF object correspondingly.
static PointF System::Drawing::PointF::Add(const PointF &point, const SizeF &size)
Parameter | Type | Description |
---|---|---|
point | const PointF& | The point to translate |
size | const SizeF& | The SizeF object that specifies the values to add to the coordinates values of the point |
ReturnValue
A new PointF 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 PointF
- Class SizeF
- Class PointF
- Namespace System::Drawing
- Library Aspose.PUB for C++