C# Class ImageProcessor.Imaging.RoundedCornerLayer

Encapsulates the properties required to add rounded corners to an image.
Afficher le fichier Open project: JimBobSquarePants/ImageProcessor Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Equals() public méthode

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. ///
Résultat bool

GetHashCode() public méthode

Returns the hash code for this instance.
public GetHashCode ( ) : int
Résultat int

RoundedCornerLayer() public méthode

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 ///