C# Класс ImageProcessor.Common.Extensions.FloatExtensions

Encapsulates a series of time saving extension methods to the T:System.Float class.
Показать файл Открыть проект

Открытые методы

Метод Описание
ToByte ( this value ) : byte

Converts an T:System.Float value into a valid T:System.Byte. If the value given is less than 0 or greater than 255, the value will be constrained into those restricted ranges.

Описание методов

ToByte() публичный статический Метод

Converts an T:System.Float value into a valid T:System.Byte. If the value given is less than 0 or greater than 255, the value will be constrained into those restricted ranges.
public static ToByte ( this value ) : byte
value this /// The to convert. ///
Результат byte