編輯

共用方式為


SKMatrix.TryInvert(SKMatrix) Method

Definition

Attempts to invert the matrix, if possible the inverse matrix contains the result.

public bool TryInvert (out SkiaSharp.SKMatrix inverse);
public readonly bool TryInvert (out SkiaSharp.SKMatrix inverse);

Parameters

inverse
SKMatrix

The destination value to store the inverted matrix if the matrix can be inverted.

Returns

True if the matrix can be inverted, and the inverse parameter is initialized with the inverted matrix, false otherwise.

Applies to