Class GradientStop
Represents a GradientStop.
Inherited Members
Namespace: DRIT.Document.Drawing
Assembly: DRIT.Document.dll
Syntax
public class GradientStop
Constructors
GradientStop()
Identifies the GradientStop preset value.
Declaration
public GradientStop()
GradientStop(decimal, DrawingColor)
Identifies the GradientStop preset value.
Declaration
public GradientStop(decimal position, DrawingColor color)
Parameters
| Type | Name | Description |
|---|---|---|
| decimal | position | The position used by the operation. |
| DrawingColor | color | The color used by the operation. |
Properties
Color
Identifies the Color preset value.
Declaration
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
DrawingColor
Identifies the DrawingColor preset value.
Declaration
public DrawingColor DrawingColor { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Position
Identifies the Position preset value.
Declaration
public decimal Position { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
Transparency
Identifies the Transparency preset value.
Declaration
public decimal Transparency { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
Methods
Equals(GradientStop)
Identifies the Equals preset value.
Declaration
protected bool Equals(GradientStop other)
Parameters
| Type | Name | Description |
|---|---|---|
| GradientStop | other | The other used by the operation. |
Returns
| Type | Description |
|---|---|
| bool | The resulting value. |
Equals(object)
Identifies the Equals preset value.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The obj used by the operation. |
Returns
| Type | Description |
|---|---|
| bool | The resulting value. |
Overrides
GetHashCode()
Identifies the GetHashCode preset value.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The resulting value. |