SKImageFilter.CreateMagnifier 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
| Name | Description |
|---|---|
| CreateMagnifier(SKRect, Single, Single, SKSamplingOptions, SKImageFilter, SKRect) |
Creates an image filter that applies a magnifier effect. |
| CreateMagnifier(SKRect, Single) |
Creates an image filter that applies a magnifier effect. |
| CreateMagnifier(SKRect, Single, SKImageFilter) |
Creates an image filter that applies a magnifier effect. |
| CreateMagnifier(SKRect, Single, SKImageFilter, SKImageFilter+CropRect) |
Creates an image filter that magnifies an area of a bitmap. |
| CreateMagnifier(SKRect, Single, 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. |
| 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.
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
CreateMagnifier(SKRect, Single)
Creates an image filter that applies a magnifier effect.
public static SkiaSharp.SKImageFilter CreateMagnifier(SkiaSharp.SKRect src, float inset);
Parameters
- src
- SKRect
The source rectangle to tile.
- inset
- Single
The inset amount for the magnifier effect.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
CreateMagnifier(SKRect, Single, SKImageFilter)
Creates an image filter that applies a magnifier effect.
public static SkiaSharp.SKImageFilter CreateMagnifier(SkiaSharp.SKRect src, float inset, SkiaSharp.SKImageFilter input);
Parameters
- src
- SKRect
The source rectangle to tile.
- inset
- Single
The inset amount for the magnifier effect.
- 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, SKImageFilter, SKImageFilter+CropRect)
Creates an image filter that magnifies an area of a bitmap.
public static SkiaSharp.SKImageFilter CreateMagnifier(SkiaSharp.SKRect src, float inset, SkiaSharp.SKImageFilter input = default, SkiaSharp.SKImageFilter.CropRect cropRect = default);
public static SkiaSharp.SKImageFilter CreateMagnifier(SkiaSharp.SKRect src, float inset, SkiaSharp.SKImageFilter input, SkiaSharp.SKImageFilter.CropRect cropRect);
Parameters
- src
- SKRect
The rectangle area to magnify.
- inset
- Single
The amount of magnification to apply.
- input
- SKImageFilter
The input filter to use.
- cropRect
- SKImageFilter.CropRect
The rectangle to which the output processing will be limited.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
CreateMagnifier(SKRect, Single, SKImageFilter, SKRect)
Creates an image filter that applies a magnifier effect.
public static SkiaSharp.SKImageFilter CreateMagnifier(SkiaSharp.SKRect src, float inset, SkiaSharp.SKImageFilter input, SkiaSharp.SKRect cropRect);
Parameters
- src
- SKRect
The source rectangle to tile.
- inset
- Single
The inset amount for the magnifier effect.
- 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
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.