Tip
See the Remarks section of the Combine(IReadableBitmapData, IReadWriteBitmapData, FuncColor32, Color32, Color32, NullableRectangle, NullablePoint, IDitherer, ParallelConfig) method for more details.
public static Task<bool> CombineAsync(
this IReadableBitmapData source,
IReadWriteBitmapData target,
Func<Color32, Color32, Color32> combineFunction,
Rectangle? sourceRectangle = null,
Point? targetLocation = null,
IDitherer? ditherer = null,
TaskConfig? asyncConfig = null
)<ExtensionAttribute>
Public Shared Function CombineAsync (
source As IReadableBitmapData,
target As IReadWriteBitmapData,
combineFunction As Func(Of Color32, Color32, Color32),
Optional sourceRectangle As Rectangle? = Nothing,
Optional targetLocation As Point? = Nothing,
Optional ditherer As IDitherer = Nothing,
Optional asyncConfig As TaskConfig = Nothing
) As Task(Of Boolean)public:
[ExtensionAttribute]
static Task<bool>^ CombineAsync(
IReadableBitmapData^ source,
IReadWriteBitmapData^ target,
Func<Color32, Color32, Color32>^ combineFunction,
Nullable<Rectangle> sourceRectangle = nullptr,
Nullable<Point> targetLocation = nullptr,
IDitherer^ ditherer = nullptr,
TaskConfig^ asyncConfig = nullptr
)[<ExtensionAttribute>]
static member CombineAsync :
source : IReadableBitmapData *
target : IReadWriteBitmapData *
combineFunction : Func<Color32, Color32, Color32> *
?sourceRectangle : Nullable<Rectangle> *
?targetLocation : Nullable<Point> *
?ditherer : IDitherer *
?asyncConfig : TaskConfig
(* Defaults:
let _sourceRectangle = defaultArg sourceRectangle null
let _targetLocation = defaultArg targetLocation null
let _ditherer = defaultArg ditherer 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 . |