編輯

共用方式為


SKImageFilter.CreateImage Method

Definition

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.

Applies to