編輯

共用方式為


SKImageFilter.CreatePaint(SKPaint, SKImageFilter+CropRect) Method

Definition

Creates an image filter that draws a paint.

public static SkiaSharp.SKImageFilter CreatePaint (SkiaSharp.SKPaint paint, SkiaSharp.SKImageFilter.CropRect cropRect = default);

Parameters

paint
SKPaint

The paint to draw.

cropRect
SKImageFilter.CropRect

The rectangle to which the output processing will be limited.

Returns

Returns the new SKImageFilter, or null on error.

Applies to