Споделяне чрез


SkiaSharp shaders

You can set the Shader property of SKPaint to an object of type SKShader to create several types of gradients, a tiled bitmap pattern, or Perlin noise.

The SkiaSharp linear gradient

Discover how to stroke lines or fill areas with gradients composed of a gradual blend of two colors.

SkiaSharp circular gradients

Learn about the different types of gradients based on circles, and use them for masks or specular highlights.

SkiaSharp bitmap tiling

Tile an area using bitmaps repeated horizontally and vertically.

SkiaSharp noise and composing

Generate Perlin noise shaders and combine with other shaders.