SKShader.CreateLocalMatrix(SKShader, SKMatrix) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.