Upravit

Sdílet prostřednictvím


SKImage.ApplyImageFilter Method

Definition

Overloads

ApplyImageFilter(SKImageFilter, SKRectI, SKRectI, SKRectI, SKPoint)

Applies a given image filter to this image, and return the filtered result.

ApplyImageFilter(SKImageFilter, SKRectI, SKRectI, SKRectI, SKPointI)

Applies a given image filter to this image, and return the filtered result.

ApplyImageFilter(GRContext, SKImageFilter, SKRectI, SKRectI, SKRectI, SKPointI)
ApplyImageFilter(GRRecordingContext, SKImageFilter, SKRectI, SKRectI, SKRectI, SKPointI)

ApplyImageFilter(SKImageFilter, SKRectI, SKRectI, SKRectI, SKPoint)

Applies a given image filter to this image, and return the filtered result.

public SkiaSharp.SKImage ApplyImageFilter (SkiaSharp.SKImageFilter filter, SkiaSharp.SKRectI subset, SkiaSharp.SKRectI clipBounds, out SkiaSharp.SKRectI outSubset, out SkiaSharp.SKPoint outOffset);

Parameters

filter
SKImageFilter

The filter to apply to the current image.

subset
SKRectI

The active portion of this image.

clipBounds
SKRectI

Constrains the device-space extent of the image to the given rectangle.

outSubset
SKRectI

The active portion of the resulting image

outOffset
SKPoint

The amount to translate the resulting image relative to the source when it is drawn.

Returns

Returns the resulting image after the filter is applied, or null if the image could not be created or would be transparent black (#00000000).

Applies to

ApplyImageFilter(SKImageFilter, SKRectI, SKRectI, SKRectI, SKPointI)

Applies a given image filter to this image, and return the filtered result.

public SkiaSharp.SKImage ApplyImageFilter (SkiaSharp.SKImageFilter filter, SkiaSharp.SKRectI subset, SkiaSharp.SKRectI clipBounds, out SkiaSharp.SKRectI outSubset, out SkiaSharp.SKPointI outOffset);

Parameters

filter
SKImageFilter

The filter to apply to the current image.

subset
SKRectI

The active portion of this image.

clipBounds
SKRectI

Constrains the device-space extent of the image to the given rectangle.

outSubset
SKRectI

The active portion of the resulting image

outOffset
SKPointI

The amount to translate the resulting image relative to the source when it is drawn.

Returns

Returns the resulting image after the filter is applied, or null if the image could not be created or would be transparent black (#00000000).

Applies to

ApplyImageFilter(GRContext, SKImageFilter, SKRectI, SKRectI, SKRectI, SKPointI)

public SkiaSharp.SKImage ApplyImageFilter (SkiaSharp.GRContext context, SkiaSharp.SKImageFilter filter, SkiaSharp.SKRectI subset, SkiaSharp.SKRectI clipBounds, out SkiaSharp.SKRectI outSubset, out SkiaSharp.SKPointI outOffset);

Parameters

context
GRContext
filter
SKImageFilter
subset
SKRectI
clipBounds
SKRectI
outSubset
SKRectI
outOffset
SKPointI

Returns

Applies to

ApplyImageFilter(GRRecordingContext, SKImageFilter, SKRectI, SKRectI, SKRectI, SKPointI)

public SkiaSharp.SKImage ApplyImageFilter (SkiaSharp.GRRecordingContext context, SkiaSharp.SKImageFilter filter, SkiaSharp.SKRectI subset, SkiaSharp.SKRectI clipBounds, out SkiaSharp.SKRectI outSubset, out SkiaSharp.SKPointI outOffset);

Parameters

filter
SKImageFilter
subset
SKRectI
clipBounds
SKRectI
outSubset
SKRectI
outOffset
SKPointI

Returns

Applies to