Matrix 構造体

定義

2 次元空間での変換に使用される 3 x 3 アフィン変換行列を表します。

public value class Matrix : IFormattable
public struct Matrix : IFormattable
[System.Security.SecurityCritical]
public struct Matrix : IFormattable
type Matrix = struct
    interface IFormattable
[<System.Security.SecurityCritical>]
type Matrix = struct
    interface IFormattable
Public Structure Matrix
Implements IFormattable
継承
Matrix
属性
実装

注釈

この構造体は、Windows ランタイム (WinRT) Matrix 構造体の .NET プロジェクションを表します。 詳細については、「UWP API リファレンスの マトリックス 」を参照してください。

コンストラクター

Matrix(Double, Double, Double, Double, Double, Double)

Matrix 構造体を初期化します。

プロパティ

Identity

恒等行列を取得します。

IsIdentity

この Matrix 構造体が恒等行列かどうかを示す値を取得します。

M11

この Matrix 構造体の第 1 行、第 1 列の値を取得または設定します。

M12

この Matrix 構造体の第 1 行、第 2 列の値を取得または設定します。

M21

この Matrix 構造体の第 2 行、第 1 列の値を取得または設定します。

M22

この Matrix 構造体の第 2 行、第 2 列の値を取得または設定します。

OffsetX

この Matrix 構造体の第 3 行、第 1 列の値を取得または設定します。

OffsetY

この Matrix 構造体の第 3 行、第 2 列の値を取得または設定します。

メソッド

Equals(Matrix)

指定した Matrix 構造体がこのインスタンスと同一であるかどうかを判断します。

Equals(Object)

指定した Object が、この Matrix と同じ Matrix 構造体であるかどうかを判断します。

GetHashCode()

この Matrix 構造体のハッシュ コードを返します。

ToString()

この Matrix 構造体の String 表現を作成します。

ToString(IFormatProvider)

カルチャ固有の書式設定情報を使用して、この Matrix 構造体の String 表現を作成します。

Transform(Point)

指定した点を Matrix で変換し、その結果を返します。

演算子

Equality(Matrix, Matrix)

指定した 2 つの Matrix 構造体が同一かどうかを判断します。

Inequality(Matrix, Matrix)

指定した 2 つの Matrix 構造体が異なるかどうかを判断します。

明示的なインターフェイスの実装

IFormattable.ToString(String, IFormatProvider)

このメンバーの詳細については、「ToString(String, IFormatProvider)」をご覧ください。

適用対象

こちらもご覧ください