SkiaSharp.SKMatrix44 Class

A 3D, 4x4 matrix.

See Also: SKMatrix44

Syntax

public class SKMatrix44 : SKObject

Remarks

Requirements

Namespace: SkiaSharp
Assembly: SkiaSharp (in SkiaSharp.dll)
Assembly Versions: 1.56.0.0, 1.57.0.0, 1.58.0.0, 1.59.0.0

The members of SkiaSharp.SKMatrix44 are listed below.

See Also: SKObject

Public Constructors

Creates a new, uninitialized instance of SKMatrix44.
Creates a new instance of SKMatrix44 using the values from a SKMatrix instance.
Creates a new instance of SKMatrix44 using the values from another instance.
Creates a new instance of SKMatrix44 using the concatenated values from two other instances.

Public Properties

default property
Item(Int32, Int32)Single. Gets or sets a value in the matrix.
[read-only]
MatrixSKMatrix. Gets the SKMatrix equivalent of the current matrix.
[read-only]
TypeSKMatrix44TypeMask. Gets a bit field describing the transformations the matrix may perform.

Public Methods

static
CreateIdentity() : SKMatrix44
Creates a new identity matrix.
static
CreateRotation(Single, Single, Single, Single) : SKMatrix44
Creates a new rotation matrix.
static
CreateRotationDegrees(Single, Single, Single, Single) : SKMatrix44
Creates a new rotation matrix.
static
CreateScale(Single, Single, Single) : SKMatrix44
Creates a new scale matrix.
static
CreateTranslate(Single, Single, Single) : SKMatrix44
Creates a new translation matrix.
Determinant() : Double
Calculates the determinant of the matrix.
static
Equal(SKMatrix44, SKMatrix44) : Boolean
Determines if the two matrices are equal.
static
FromColumnMajor(Single[]) : SKMatrix44
Creates a new matrix using the values from the column-major array.
static
FromRowMajor(Single[]) : SKMatrix44
Creates a new matrix using the values from the row-major array.
Invert() : SKMatrix44
Creates an inverted matrix from the current matrix.
Invert(SKMatrix44) : Boolean
Inverts the current matrix and stores the result in the provided matrix.
MapPoint(SKPoint) : SKPoint
Applies the matrix to a point.
MapPoints(SKPoint[]) : SKPoint[]
Applies the matrix to an array of points.
MapScalars(Single[]) : Single[]
Applies the matrix to a vector.
MapScalars(Single[], Single[])
Applies the matrix to a vector.
MapScalars(Single, Single, Single, Single) : Single[]
Applies the matrix to a vector.
MapVector2(Single[]) : Single[]
Applies the matrix to a series of [x, y] pairs, returning the [x', y', z', w'] result.
MapVector2(Single[], Single[])
Applies the matrix to a series of [x, y] pairs, returning the [x', y', z', w'] result.
PostConcat(SKMatrix44)
Post-concatenates the current matrix with the specified matrix.
PostScale(Single, Single, Single)
Post-scales the current matrix with the specified scale.
PostTranslate(Single, Single, Single)
Post-translates the current matrix with the specified stranslationale.
PreConcat(SKMatrix44)
Pre-concatenates the matrix with the specified matrix.
PreScale(Single, Single, Single)
Pre-scales the current matrix with the specified scale.
Preserves2DAxisAlignment(Single) : Boolean
Determines if transforming an axis-aligned square in 2D by this matrix will produce another 2D, axis-aligned square.
PreTranslate(Single, Single, Single)
Pre-translates the current matrix with the specified translation.
SetColumnMajor(Single[])
Resets the current matrix with the specified column-major values.
SetConcat(SKMatrix44, SKMatrix44)
Reset the current matrix with the values from the concatenation of the specified matrices.
SetIdentity()
Resets the current matrix to identity.
SetRotationAbout(Single, Single, Single, Single)
Resets the current matrix to a rotation matrix.
SetRotationAboutDegrees(Single, Single, Single, Single)
Resets the current matrix to a rotation matrix.
SetRotationAboutUnit(Single, Single, Single, Single)
Resets the current matrix to a rotation matrix, without checking to see if the specified vector is unit-length.
SetRowMajor(Single[])
Resets the current matrix with the specified row-major values.
SetScale(Single, Single, Single)
Resets the current matrix to a scale matrix.
SetTranslate(Single, Single, Single)
Resets the current matrix to a translation matrix.
ToColumnMajor() : Single[]
Converts the current matrix to a column-major array.
ToColumnMajor(Single[])
Converts the current matrix to a column-major array.
ToRowMajor() : Single[]
Converts the current matrix to a row-major array.
ToRowMajor(Single[])
Converts the current matrix to a row-major array.
Transpose()
Transposes the current matrix.

Protected Methods

override
Dispose(Boolean)