C# 클래스 ImageProcessor.Imaging.RoundedCornerLayer

Encapsulates the properties required to add rounded corners to an image.
파일 보기 프로젝트 열기: JimBobSquarePants/ImageProcessor 1 사용 예제들

공개 메소드들

메소드 설명
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 ///