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

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

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

Метод Описание
Equals ( object obj ) : bool

Returns a value that indicates whether the specified object is an RoundedCornerLayer object that is equivalent to this RoundedCornerLayer object.

GetHashCode ( ) : int

Returns the hash code for this instance.

RoundedCornerLayer ( int radius, bool topLeft = true, bool topRight = true, bool bottomLeft = true, bool bottomRight = true )

Initializes a new instance of the RoundedCornerLayer class.

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

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

Returns a value that indicates whether the specified object is an RoundedCornerLayer object that is equivalent to this RoundedCornerLayer object.
public Equals ( object obj ) : bool
obj object /// The object to test. ///
Результат bool

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

Returns the hash code for this instance.
public GetHashCode ( ) : int
Результат int

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

Initializes a new instance of the RoundedCornerLayer class.
public RoundedCornerLayer ( int radius, bool topLeft = true, bool topRight = true, bool bottomLeft = true, bool bottomRight = true )
radius int /// The radius at which the corner will be rounded. ///
topLeft bool /// Set if top left is rounded ///
topRight bool /// Set if top right is rounded ///
bottomLeft bool /// Set if bottom left is rounded ///
bottomRight bool /// Set if bottom right is rounded ///