Tip
See the Remarks section of the TransformColors(IReadWriteBitmapData, FuncColor32, Color32, IDitherer) method for more details.
public static Task TransformColorsAsync(
this IReadWriteBitmapData bitmapData,
Func<Color32, Color32> transformFunction,
IDitherer? ditherer = null,
TaskConfig? asyncConfig = null
)
<ExtensionAttribute>
Public Shared Function TransformColorsAsync (
bitmapData As IReadWriteBitmapData,
transformFunction As Func(Of Color32, Color32),
Optional ditherer As IDitherer = Nothing,
Optional asyncConfig As TaskConfig = Nothing
) As Task
public:
[ExtensionAttribute]
static Task^ TransformColorsAsync(
IReadWriteBitmapData^ bitmapData,
Func<Color32, Color32>^ transformFunction,
IDitherer^ ditherer = nullptr,
TaskConfig^ asyncConfig = nullptr
)
[<ExtensionAttribute>]
static member TransformColorsAsync :
bitmapData : IReadWriteBitmapData *
transformFunction : Func<Color32, Color32> *
?ditherer : IDitherer *
?asyncConfig : TaskConfig
(* Defaults:
let _ditherer = defaultArg ditherer null
let _asyncConfig = defaultArg asyncConfig null
*)
-> Task
This method is not a blocking call even if the MaxDegreeOfParallelism property of the asyncConfig parameter is 1.
ArgumentNullException | bitmapData or transformFunction is . |