System::Drawing::Rectangle::Offset 方法
Rectangle::Offset(const Point&) method
按指定的量偏移当前对象所表示的矩形的位置。
void System::Drawing::Rectangle::Offset(const Point &pos)
| 参数 | 类型 | 描述 |
|---|---|---|
| pos | const Point& | 指定矩形偏移量的 Point 对象;该点的 X 坐标值指定要加到矩形左上角 X 坐标的量,Y 坐标值指定要加到矩形左上角 Y 坐标的量。 |
另见
- Class Point
- Class Rectangle
- Namespace System::Drawing
- Library Aspose.Font for C++
Rectangle::Offset(int, int) method
按指定的量偏移当前对象所表示的矩形的位置。
void System::Drawing::Rectangle::Offset(int x, int y)
| 参数 | 类型 | 描述 |
|---|---|---|
| x | int | 要加到矩形当前 X 坐标的值 |
| y | int | 要加到矩形当前 Y 坐标的值 |
另见
- Class Rectangle
- Namespace System::Drawing
- Library Aspose.Font for C++