VintaSoft Imaging .NET SDK 15.2: Документация для .NET разработчика
Vintasoft.Imaging.ImageColors Namespace / ColorBase Class / GetLuminance Methods / GetLuminance(VintasoftColor) Method
Синтаксис Требования Смотрите также
В этом разделе
GetLuminance(VintasoftColor) Метод (ColorBase)
В этом разделе
Возвращает яркость цвета RGB в диапазоне [0; 255].
Синтаксис
'Declaration

Public Overloads Shared Function GetLuminance( _
ByVal color
Цвет RGB.
As Vintasoft.Primitives.VintasoftColor _
) As Byte
public static byte GetLuminance(
Vintasoft.Primitives.VintasoftColor color
)

Parameters

color
Цвет RGB.

Return Value

Яркость цвета в диапазоне [0; 255].
Требования

Целевые платформы: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

Смотрите также