SKPaint class defines six properties that can be classified under the general term of effects. These are properties that alter the normal display of graphics in some way. The SkiaSharp effects fall into six categories:
PathEffect property of
SKPaint to an object of type
SKPathEffect to display dashed lines, or to stroke or fill an area with a pattern created from paths. The path effect was covered earlier in this series in the article Path Effects in SkiaSharp.
BlendMode property of
SKPaint to a member of the
SKBlendMode enumeration to govern what happens when a source graphic is displayed on a destination. SkiaSharp supports all the CSS compositing and blend modes, including the Porter-Duff modes, separable blend modes, and non-separable blend modes.
All the sample code for these articles are in the SkiaSharpFormsDemos. From the home page, select SkiaSharp Effects.
Lähetä palautetta aiheesta: