Method GetBgra32
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Core.dll
GetBgra32(ManagedColor, IColorContext)
Retrieves the color in the requested color space, and then converts it to a ColorBgra32.
public static ColorBgra32 GetBgra32(this ManagedColor color, IColorContext dstColorContext)
Parameters
color
ManagedColorThe managed color.
dstColorContext
IColorContext
Returns
- ColorBgra32
The color transformed to the requested color space. It will be clamped, normalized, and rounded to fit a ColorBgra32.