SKImage.ApplyImageFilter 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
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
- context
- GRRecordingContext
- filter
- SKImageFilter
- subset
- SKRectI
- clipBounds
- SKRectI
- outSubset
- SKRectI
- outOffset
- SKPointI
Returns
Applies to
SkiaSharp
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示