Tip
See the Remarks section of the Combine(IReadableBitmapData, IReadWriteBitmapData, FuncColorF, ColorF, ColorF, NullableRectangle, NullablePoint, ParallelConfig) method for more details.
public static Task<bool> CombineAsync(
this IReadableBitmapData source,
IReadWriteBitmapData target,
Func<ColorF, ColorF, ColorF> combineFunction,
Rectangle? sourceRectangle = null,
Point? targetLocation = null,
TaskConfig? asyncConfig = null
)<ExtensionAttribute>
Public Shared Function CombineAsync (
source As IReadableBitmapData,
target As IReadWriteBitmapData,
combineFunction As Func(Of ColorF, ColorF, ColorF),
Optional sourceRectangle As Rectangle? = Nothing,
Optional targetLocation As Point? = Nothing,
Optional asyncConfig As TaskConfig = Nothing
) As Task(Of Boolean)public:
[ExtensionAttribute]
static Task<bool>^ CombineAsync(
IReadableBitmapData^ source,
IReadWriteBitmapData^ target,
Func<ColorF, ColorF, ColorF>^ combineFunction,
Nullable<Rectangle> sourceRectangle = nullptr,
Nullable<Point> targetLocation = nullptr,
TaskConfig^ asyncConfig = nullptr
)[<ExtensionAttribute>]
static member CombineAsync :
source : IReadableBitmapData *
target : IReadWriteBitmapData *
combineFunction : Func<ColorF, ColorF, ColorF> *
?sourceRectangle : Nullable<Rectangle> *
?targetLocation : Nullable<Point> *
?asyncConfig : TaskConfig
(* Defaults:
let _sourceRectangle = defaultArg sourceRectangle null
let _targetLocation = defaultArg targetLocation null
let _asyncConfig = defaultArg asyncConfig null
*)
-> Task<bool> This method is not a blocking call even if the MaxDegreeOfParallelism property of the asyncConfig parameter is 1.
| ArgumentNullException | source, target or combineFunction is . |