SKImageFilter.CreateDilate 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 |
|---|---|
| CreateDilate(Single, Single) |
Creates an image filter that applies a morphological dilation, expanding bright regions. |
| CreateDilate(Single, Single, SKImageFilter) |
Creates an image filter that applies a morphological dilation, expanding bright regions. |
| CreateDilate(Single, Single, SKImageFilter, SKRect) |
Creates an image filter that applies a morphological dilation, expanding bright regions. |
CreateDilate(Single, Single)
Creates an image filter that applies a morphological dilation, expanding bright regions.
public static SkiaSharp.SKImageFilter CreateDilate(float radiusX, float radiusY);
Parameters
- radiusX
- Single
The morphology radius in the X direction.
- radiusY
- Single
The morphology radius in the Y direction.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
CreateDilate(Single, Single, SKImageFilter)
Creates an image filter that applies a morphological dilation, expanding bright regions.
public static SkiaSharp.SKImageFilter CreateDilate(float radiusX, float radiusY, SkiaSharp.SKImageFilter? input);
Parameters
- radiusX
- Single
The morphology radius in the X direction.
- radiusY
- Single
The morphology radius in the Y direction.
- 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
CreateDilate(Single, Single, SKImageFilter, SKRect)
Creates an image filter that applies a morphological dilation, expanding bright regions.
public static SkiaSharp.SKImageFilter CreateDilate(float radiusX, float radiusY, SkiaSharp.SKImageFilter? input, SkiaSharp.SKRect cropRect);
Parameters
- radiusX
- Single
The morphology radius in the X direction.
- radiusY
- Single
The morphology radius in the Y direction.
- 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.