System::Drawing::Point::Subtract method
Contents
[
Hide
]Point::Subtract method
Subtracts the width and height values of the specified Size object from the X and Y coordinates values of the specified Point object correspondingly.
static Point System::Drawing::Point::Subtract(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 subtract from the coordinates values of the point |
ReturnValue
A new Point object whose X coordinate value is equal to the result of subtraction of the width value of size from the X coordinate value of point and Y coordinate value is equal to the result of subtraction of the height value of size from the Y coordinate value of point
See Also
- Class Point
- Class Size
- Class Point
- Namespace System::Drawing
- Library Aspose.TeX for C++