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
color
ManagedColorThe managed color.
dstColorContext
IDeviceColorContext- 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
color
ManagedColorThe managed color list.
deviceContext
IDeviceContextThe 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
GetColorContext
extension method.