[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.Bevel

Bevel Struct

This class represents the object that describes the 2D border for a rectangle.

Implements
Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
[TypeConverter(typeof(BevelConverter))]
public struct Bevel : ISerializable
<TypeConverter(GetType(BevelConverter))>
Public Structure Bevel
    Implements ISerializable

Constructors

Name Description
Bevel(Color, int, int, int)

Initializes a new Bevel instance using the specified attributes.

Properties

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.

Methods

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.

Operators

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.