[]
This class represents the object that describes the 2D border for a rectangle.
[TypeConverter(typeof(BevelConverter))]
public struct Bevel : ISerializable
<TypeConverter(GetType(BevelConverter))>
Public Structure Bevel
Implements ISerializable
Name | Description |
---|---|
Bevel(Color, int, int, int) | Initializes a new Bevel instance using the specified attributes. |
Name | Description |
---|---|
Color | Gets or sets the background color of the bevel. |
Darkness | Gets or sets the percentage used for calculating the color used for the shaded area of the bevel. |
Default | Represents a Bevel object that has a Color value set to Control, a Width value set to zero, a Lightness value set to 25, and a Darkness value set to -25. |
Empty | Represents a Bevel object that has a Color value set to Empty, and Width, Lightness and Darkness values set to 0. |
Lightness | Gets or sets the percentage used for calculating the color used for the light area of the bevel. |
Width | Gets or sets the width of the bevel. |
Name | Description |
---|---|
Draw(Graphics, Rectangle) | Draws a bevel using the specified Rectangle structure on the specified Graphics surface. |
Equals(object) | Determines whether two object instances are equal. |
GetHashCode() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
Name | Description |
---|---|
operator ==(Bevel, Bevel) | Determines whether two specified values of Bevel are equal. |
operator !=(Bevel, Bevel) | Determines whether two specified values of Bevel are not equal. |