Table of Contents

Method GetColor

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

GetColor(DeviceColorSpace, SrgbColorA)

public static ColorRgba128Float GetColor(this DeviceColorSpace colorSpace, SrgbColorA srgbColor)

Parameters

colorSpace DeviceColorSpace
srgbColor SrgbColorA

Returns

ColorRgba128Float

GetColor(DeviceColorSpace, SrgbColor)

public static ColorRgb96Float GetColor(this DeviceColorSpace colorSpace, SrgbColor srgbColor)

Parameters

colorSpace DeviceColorSpace
srgbColor SrgbColor

Returns

ColorRgb96Float

GetColor(DeviceColorSpace, LinearColorA)

public static ColorRgba128Float GetColor(this DeviceColorSpace colorSpace, LinearColorA scRgbColor)

Parameters

colorSpace DeviceColorSpace
scRgbColor LinearColorA

Returns

ColorRgba128Float

GetColor(DeviceColorSpace, LinearColor)

public static ColorRgb96Float GetColor(this DeviceColorSpace colorSpace, LinearColor scRgbColor)

Parameters

colorSpace DeviceColorSpace
scRgbColor LinearColor

Returns

ColorRgb96Float