Udostępnij za pośrednictwem


MatrixHelper Class

Definition

Provides static helper methods for processing Matrix values. C# and Microsoft Visual Basic code should use members of Matrix instead.

public ref class MatrixHelper sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MatrixHelper final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MatrixHelper
Public NotInheritable Class MatrixHelper
Inheritance
Object Platform::Object IInspectable MatrixHelper
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Identity

Gets a static constructed Matrix where the values established are representative of an Identity transform.

Methods

FromElements(Double, Double, Double, Double, Double, Double)

Creates a new Matrix based on provided initial Matrix data values.

GetIsIdentity(Matrix)

Returns whether the provided Matrix represents an Identity transform.

Transform(Matrix, Point)

Transforms a provided Matrix using a Point input, and returns a Point result.

Applies to