SKImageFilter.CreatePicture 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.
Overloads
CreatePicture(SKPicture) |
Creates an image filter that draws a picture. |
CreatePicture(SKPicture, SKRect) |
Creates an image filter that draws a picture. |
CreatePicture(SKPicture)
Creates an image filter that draws a picture.
public static SkiaSharp.SKImageFilter CreatePicture (SkiaSharp.SKPicture picture);
Parameters
- picture
- SKPicture
The picture to draw.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
CreatePicture(SKPicture, SKRect)
Creates an image filter that draws a picture.
public static SkiaSharp.SKImageFilter CreatePicture (SkiaSharp.SKPicture picture, SkiaSharp.SKRect cropRect);
Parameters
- picture
- SKPicture
The picture to draw.
- cropRect
- SKRect
The rectangle to which the output processing will be limited.
Returns
Returns the new SKImageFilter, or null on error.