SKShader.CreateLocalMatrix(SKShader, SKMatrix) Method

Definition

Creates a shader that first applies the specified matrix and then applies the shader.

public static SkiaSharp.SKShader CreateLocalMatrix (SkiaSharp.SKShader shader, SkiaSharp.SKMatrix localMatrix);

Parameters

shader
SKShader

The shader to apply.

localMatrix
SKMatrix

The matrix to apply before applying the shader.

Returns

Returns a new SKShader, or null on error.

Applies to