Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Pinta
Core
ColorBgra
GetAverageColorChannelValue
Pinta.Core.ColorBgra.GetAverageColorChannelValue C# (CSharp) Method
ColorBgra Class Documentation
Show file
Open project: xxgreg/Pinta
GetAverageColorChannelValue()
public
method
Returns the average of the B, G, and R values. Alpha is ignored.
public
GetAverageColorChannelValue
( ) :
byte
return
byte
public byte GetAverageColorChannelValue() { return (byte)((this.B + this.G + this.R) / 3); }
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