Skip to main content

Struct SKMatrix

Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll

public struct SKMatrix

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Fields

Persp0

public float Persp0

Field Value

float

Persp1

public float Persp1

Field Value

float

Persp2

public float Persp2

Field Value

float

ScaleX

public float ScaleX

Field Value

float

ScaleY

public float ScaleY

Field Value

float

SkewX

public float SkewX

Field Value

float

SkewY

public float SkewY

Field Value

float

TransX

public float TransX

Field Value

float

TransY

public float TransY

Field Value

float

Methods

Concat(SKMatrix, SKMatrix)

public static SKMatrix Concat(SKMatrix first, SKMatrix second)

Parameters

first SKMatrix

second SKMatrix

Returns

SKMatrix

Concat(ref SKMatrix, SKMatrix, SKMatrix)

public static void Concat(ref SKMatrix target, SKMatrix first, SKMatrix second)

Parameters

target SKMatrix

first SKMatrix

second SKMatrix

CreateIdentity()

public static SKMatrix CreateIdentity()

Returns

SKMatrix

CreateRotationDegrees(float, float, float)

public static SKMatrix CreateRotationDegrees(float degrees, float px, float py)

Parameters

degrees float

px float

py float

Returns

SKMatrix

CreateScale(float, float)

public static SKMatrix CreateScale(float sx, float sy)

Parameters

sx float

sy float

Returns

SKMatrix

CreateTranslation(float, float)

public static SKMatrix CreateTranslation(float dx, float dy)

Parameters

dx float

dy float

Returns

SKMatrix

FromMatrix3x2(Matrix3x2)

public static SKMatrix FromMatrix3x2(Matrix3x2 matrix)

Parameters

matrix Matrix3x2

Returns

SKMatrix

PreConcat(SKMatrix)

public SKMatrix PreConcat(SKMatrix matrix)

Parameters

matrix SKMatrix

Returns

SKMatrix

ToMatrix3x2()

public Matrix3x2 ToMatrix3x2()

Returns

Matrix3x2