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