'Declaration Public Overloads Shared Function GetLuminance( _
ByVal colorЦвет RGB.As Vintasoft.Primitives.VintasoftColor _
) As Byte
public static byte GetLuminance(
Vintasoft.Primitives.VintasoftColor color
)
public: static byte GetLuminance(
Vintasoft.Primitives.VintasoftColor color
)
public:
static byte GetLuminance(
Vintasoft.Primitives.VintasoftColor color
)
Parameters
- color
- Цвет RGB.
Return Value
Яркость цвета в диапазоне [0; 255].