SKMaskFilter.CreateShader(SKShader) 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 mask filter that uses the specified shader to generate the mask.
public static SkiaSharp.SKMaskFilter CreateShader(SkiaSharp.SKShader shader);
Parameters
- shader
- SKShader
The shader to use to produce the mask.
Returns
A new SKMaskFilter that uses the shader to generate coverage masks.