Method ConvertColors
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Framework.dll
ConvertColors(IDirect2DFactory, ReadOnlySpan<ColorRgba128Float>, IColorContext?, Span<ColorRgba128Float>, IColorContext?)
public static void ConvertColors(this IDirect2DFactory factory, ReadOnlySpan<ColorRgba128Float> sourceColors, IColorContext? sourceColorContext, Span<ColorRgba128Float> destinationColors, IColorContext? destinationColorContext)
Parameters
factory
IDirect2DFactorysourceColors
ReadOnlySpan<ColorRgba128Float>sourceColorContext
IColorContextdestinationColors
Span<ColorRgba128Float>destinationColorContext
IColorContext
ConvertColors(IDirect2DFactory, IReadOnlyList<ColorRgba128Float>, IColorContext?, IColorContext?)
public static IReadOnlyList<ColorRgba128Float> ConvertColors(this IDirect2DFactory factory, IReadOnlyList<ColorRgba128Float> colors, IColorContext? sourceColorContext, IColorContext? destinationColorContext)
Parameters
factory
IDirect2DFactorycolors
IReadOnlyList<ColorRgba128Float>sourceColorContext
IColorContextdestinationColorContext
IColorContext