SKImageFilter.CreateArithmetic 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.
Creates an image filter that applies the specified arithmetic blend.
public static SkiaSharp.SKImageFilter CreateArithmetic (float k1, float k2, float k3, float k4, bool enforcePMColor, SkiaSharp.SKImageFilter background, SkiaSharp.SKImageFilter foreground = default, SkiaSharp.SKImageFilter.CropRect cropRect = default);
Parameters
- k1
- Single
The k1 constant value.
- k2
- Single
The k2 constant value.
- k3
- Single
The k3 constant value.
- k4
- Single
The k4 constant value.
- enforcePMColor
- Boolean
Whether or not premultiplied colors are enforced.
- background
- SKImageFilter
The background image filter to use. If this is null, then the source bitmap is used.
- foreground
- SKImageFilter
The foreground image filter to use. If this is null, then the source bitmap is used.
- cropRect
- SKImageFilter.CropRect
The rectangle to which the output processing will be limited.
Returns
Returns the new SKImageFilter, or null on error.
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per