System::Drawing::PointF::Add 方法
内容
[
隐藏
]PointF::Add(const PointF&, const Size&) method
将指定的 Size 对象的宽度和高度值分别添加到指定的 PointF 对象的 X 和 Y 坐标值上。
static PointF System::Drawing::PointF::Add(const PointF &point, const Size &size)
| 参数 | 类型 | 描述 |
|---|---|---|
| 点 | const PointF& | 要平移的点 |
| size | const Size& | 指定要添加到 point 坐标值的数值的 Size 对象 |
ReturnValue
一个新的 PointF 对象,其 X 坐标值等于 point 的 X 坐标值与 size 的宽度值之和,Y 坐标值等于 point 的 Y 坐标值与 size 的高度值之和
另见
- Class PointF
- Class Size
- Class PointF
- Namespace System::Drawing
- Library Aspose.Font for C++
PointF::Add(const PointF&, const SizeF&) method
将指定的 SizeF 对象的宽度和高度值分别添加到指定的 PointF 对象的 X 和 Y 坐标值上。
static PointF System::Drawing::PointF::Add(const PointF &point, const SizeF &size)
| 参数 | 类型 | 描述 |
|---|---|---|
| 点 | const PointF& | 要平移的点 |
| size | const SizeF& | 指定要添加到 point 坐标值的数值的 SizeF 对象 |
ReturnValue
一个新的 PointF 对象,其 X 坐标值等于 point 的 X 坐标值与 size 的宽度值之和,Y 坐标值等于 point 的 Y 坐标值与 size 的高度值之和
另见
- Class PointF
- Class SizeF
- Class PointF
- Namespace System::Drawing
- Library Aspose.Font for C++