Rect::Offset メソッドは、四角形を dx 方向に水平方向に移動し、垂直方向に dy で移動します。
構文
void Offset(
[in] INT dx,
[in] INT dy
);
パラメーター
[in] dx
型: INT
四角形を水平方向に移動する量を指定する整数。
[in] dy
型: INT
四角形を垂直方向に移動する量を指定する整数。
戻り値
なし
必要条件
| サポートされている最小のクライアント | Windows XP、Windows 2000 Professional [デスクトップ アプリのみ] |
| サポートされている最小のサーバー | Windows 2000 Server [デスクトップ アプリのみ] |
| 対象プラットフォーム | Windows |
| ヘッダー | gdiplustypes.h (Gdiplus.h を含む) |
| Library | Gdiplus.lib |
| [DLL] | Gdiplus.dll |