• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class GradientStop

Represents the gradient stop used by the presentation model.

Inheritance
object
GradientStop
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class GradientStop

Constructors

GradientStop()

Initializes a new instance of the gradient stop class.

Declaration
public GradientStop()

GradientStop(decimal, DrawingColor)

Initializes a new instance of the gradient stop class.

Declaration
public GradientStop(decimal position, DrawingColor color)
Parameters
Type Name Description
decimal position

The position of the object, in document units.

DrawingColor color

The color supplied to this operation.

Properties

Color

Gets or sets the color associated with this object.

Declaration
public Color Color { get; set; }
Property Value
Type Description
Color

DrawingColor

Gets or sets the drawing color associated with this object.

Declaration
public DrawingColor DrawingColor { get; set; }
Property Value
Type Description
DrawingColor

Position

Gets or sets the position associated with this object.

Declaration
public decimal Position { get; set; }
Property Value
Type Description
decimal

Transparency

Gets or sets the transparency associated with this object.

Declaration
public decimal Transparency { get; set; }
Property Value
Type Description
decimal

Methods

Equals(GradientStop)

Determines whether this value matches the supplied value.

Declaration
protected bool Equals(GradientStop other)
Parameters
Type Name Description
GradientStop other

The other supplied to this operation.

Returns
Type Description
bool

true if the operation succeeds; otherwise, false.

Equals(object)

Determines whether this value matches the supplied value.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare with this value.

Returns
Type Description
bool

true if the operation succeeds; otherwise, false.

Overrides
object.Equals(object)

GetHashCode()

Returns the hash code for this value.

Declaration
public override int GetHashCode()
Returns
Type Description
int

The get hash code value produced by the operation.

Overrides
object.GetHashCode()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX