次の方法で共有


Matrix.Translate メソッド (Single, Single)

平行移動ベクタを前に付加することで、指定した平行移動ベクタ (offsetXoffsetY) をこの Matrix オブジェクトに適用します。

Overloads Public Sub Translate( _
   ByVal offsetX As Single, _   ByVal offsetY As Single _)
[C#]
public void Translate(floatoffsetX,floatoffsetY);
[C++]
public: void Translate(floatoffsetX,floatoffsetY);
[JScript]
public function Translate(
   offsetX : float,offsetY : float);

パラメータ

  • offsetX
    Matrix を平行移動する x の値。
  • offsetY
    Matrix を平行移動する y の値。

使用例

例については、 Matrix.Translate Method (Single, Single, MatrixOrder) のトピックを参照してください。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

Matrix クラス | Matrix メンバ | System.Drawing.Drawing2D 名前空間 | Matrix.Translate オーバーロードの一覧