SKImageFilter.CreateImage 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
CreateImage(SKImage, SKRect, SKRect, SKFilterQuality) |
Creates an image filter that draws an image. |
CreateImage(SKImage) |
Creates an image filter that draws an image. |
CreateImage(SKImage, SKRect, SKRect, SKFilterQuality)
Creates an image filter that draws an image.
public static SkiaSharp.SKImageFilter CreateImage (SkiaSharp.SKImage image, SkiaSharp.SKRect src, SkiaSharp.SKRect dst, SkiaSharp.SKFilterQuality filterQuality);
Parameters
- image
- SKImage
The image to draw.
- src
- SKRect
The rectangle of the source image to draw.
- dst
- SKRect
The rectangle of the destination area.
- filterQuality
- SKFilterQuality
The filter quality.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
CreateImage(SKImage)
Creates an image filter that draws an image.
public static SkiaSharp.SKImageFilter CreateImage (SkiaSharp.SKImage image);
Parameters
- image
- SKImage
The image to draw.
Returns
Returns the new SKImageFilter, or null on error.