Method Get
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Core.dll
Get(ManagedColor, IDeviceColorContext)
Retrieves the color in the requested color space.
public static ColorRgba128Float Get(this ManagedColor color, IDeviceColorContext dstColorContext)
Parameters
colorManagedColorThe managed color.
dstColorContextIDeviceColorContext- The color context for the color space that the color is being requested in.
Returns
Get(ManagedColor, IDeviceContext)
Retrieves the color in the color space associated with the given IDeviceContext.
public static ColorRgba128Float Get(this ManagedColor color, IDeviceContext deviceContext)
Parameters
colorManagedColorThe managed color list.
deviceContextIDeviceContextThe device context. If automatic color management is being used, then the device context's color context will be used. The color context is retrieved using the
GetColorContextextension method.