Edit

SKImageFilter.CreateMagnifier Method

Definition

Overloads

Name Description
CreateMagnifier(SKRect, Single, Single, SKSamplingOptions)

Creates an image filter that applies a magnifier effect.

CreateMagnifier(SKRect, Single, Single, SKSamplingOptions, SKImageFilter)

Creates an image filter that applies a magnifier effect.

CreateMagnifier(SKRect, Single, Single, SKSamplingOptions, SKImageFilter, SKRect)

Creates an image filter that applies a magnifier effect.

CreateMagnifier(SKRect, Single, Single, SKSamplingOptions)

Creates an image filter that applies a magnifier effect.

public static SkiaSharp.SKImageFilter CreateMagnifier(SkiaSharp.SKRect lensBounds, float zoomAmount, float inset, SkiaSharp.SKSamplingOptions sampling);

Parameters

lensBounds
SKRect

The bounds of the magnifier lens.

zoomAmount
Single

The zoom magnification factor.

inset
Single

The inset amount for the magnifier effect.

sampling
SKSamplingOptions

The sampling options for the transformation.

Returns

Returns the new SKImageFilter, or null on error.

Applies to

CreateMagnifier(SKRect, Single, Single, SKSamplingOptions, SKImageFilter)

Creates an image filter that applies a magnifier effect.

public static SkiaSharp.SKImageFilter CreateMagnifier(SkiaSharp.SKRect lensBounds, float zoomAmount, float inset, SkiaSharp.SKSamplingOptions sampling, SkiaSharp.SKImageFilter? input);

Parameters

lensBounds
SKRect

The bounds of the magnifier lens.

zoomAmount
Single

The zoom magnification factor.

inset
Single

The inset amount for the magnifier effect.

sampling
SKSamplingOptions

The sampling options for the transformation.

input
SKImageFilter

The input filter to use, or null to use the source bitmap.

Returns

Returns the new SKImageFilter, or null on error.

Applies to

CreateMagnifier(SKRect, Single, Single, SKSamplingOptions, SKImageFilter, SKRect)

Creates an image filter that applies a magnifier effect.

public static SkiaSharp.SKImageFilter CreateMagnifier(SkiaSharp.SKRect lensBounds, float zoomAmount, float inset, SkiaSharp.SKSamplingOptions sampling, SkiaSharp.SKImageFilter? input, SkiaSharp.SKRect cropRect);

Parameters

lensBounds
SKRect

The bounds of the magnifier lens.

zoomAmount
Single

The zoom magnification factor.

inset
Single

The inset amount for the magnifier effect.

sampling
SKSamplingOptions

The sampling options for the transformation.

input
SKImageFilter

The input filter to use, or null to use the source bitmap.

cropRect
SKRect

The rectangle to which the output processing will be limited.

Returns

Returns the new SKImageFilter, or null on error.

Applies to