C# Класс ImageProcessor.Imaging.CropLayer

Encapsulates the properties required to crop an image.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CropLayer ( float left, float top, float right, float bottom, CropMode cropMode = CropMode.Percentage ) : System

Initializes a new instance of the CropLayer class.

If the CropMode is set to CropMode.Percentage then the four coordinates become percentages to reduce from each edge.

Equals ( object obj ) : bool

Determines whether the specified System.Object, is equal to this instance.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

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

CropLayer() публичный Метод

Initializes a new instance of the CropLayer class.
If the CropMode is set to CropMode.Percentage then the four coordinates become percentages to reduce from each edge.
public CropLayer ( float left, float top, float right, float bottom, CropMode cropMode = CropMode.Percentage ) : System
left float The left coordinate of the crop layer.
top float The top coordinate of the crop layer.
right float The right coordinate of the crop layer.
bottom float The bottom coordinate of the crop layer.
cropMode CropMode The .
Результат System

Equals() публичный Метод

Determines whether the specified System.Object, is equal to this instance.
public Equals ( object obj ) : bool
obj object /// The to compare with this instance. ///
Результат bool

GetHashCode() публичный Метод

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Результат int