Skip to main content

GradientStop Members

Defines the color and position of a transition point in a gradient.

Constructors

Name Description
GradientStop(Single, Color) Initializes a new GradientStop class instance with the specified settings.

Properties

Name Description
Color Returns the color of a gradient stop.
Position Returns the relative position of a gradient stop on the gradient line.

Methods

Name Description
Equals(GradientStop) Determines whether two GradientStop objects are equal.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current GradientStop instance.
GetHashCode() Returns a number that identifies the current GradientStop instance.
GetType() Gets the Type of the current instance. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the fully qualified type name of this instance. Inherited from ValueType.

Operators

Name Description
Equality(GradientStop, GradientStop) static Compares two GradientStop objects for equality.
Inequality(GradientStop, GradientStop) static Compares two GradientStop objects to determine whether they are not equal.
See Also