Method TryCreateDefaultColorContext
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.Core.dll
TryCreateDefaultColorContext(in PixelFormat)
public static IColorContext? TryCreateDefaultColorContext(this in PixelFormat pixelFormat)
Parameters
pixelFormat
PixelFormat
Returns
TryCreateDefaultColorContext(in PixelFormat, out IColorContext?)
public static bool TryCreateDefaultColorContext(this in PixelFormat pixelFormat, out IColorContext? colorContext)
Parameters
pixelFormat
PixelFormatcolorContext
IColorContext