Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Pinta
ImageManipulation
ColorBgra
GetIntensityByte
Pinta.ImageManipulation.ColorBgra.GetIntensityByte C# (CSharp) Метод
Документация по классу ColorBgra
Показать файл
Открыть проект
GetIntensityByte()
публичный
Метод
Gets the luminance intensity of the pixel based on the values of the red, green, and blue components. Alpha is ignored.
public
GetIntensityByte
( ) :
byte
Результат
byte
public byte GetIntensityByte() { return (byte)((7471 * B + 38470 * G + 19595 * R) >> 16); }
ColorBgra
BgraToUInt32
Blend
BlendColors4W16IP
BlendColorsWAIP
BlendColorsWFP
ClampToByte
Equals
FromBgr
FromBgra
FromBgraClamped
FromRgb
FromRgba
FromUInt32
GetAverageColorChannelValue
GetHashCode
GetIntensity
GetIntensityByte
GetMaxColorChannelValue
Lerp
NewAlpha
ParseHexString
ToHexString
ToString
operator
this