Show / Hide Table of Contents

Class GradientStop

Represents a stop on a gradient.

Inheritance
object
AbstractBindable
GradientStop
Implements
IBindable
INotifyPropertyChanged
Inherited Members
AbstractBindable.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: RGB.NET.Presets.Textures.Gradients
Assembly: RGB.NET.Presets.dll
Syntax
public sealed class GradientStop : AbstractBindable, IBindable, INotifyPropertyChanged

Constructors

| Edit this page View Source

GradientStop(float, Color)

Initializes a new instance of the GradientStop class.

Declaration
public GradientStop(float offset, Color color)
Parameters
Type Name Description
float offset

The percentage offset to place this GradientStop.

Color color

The Color of the GradientStop.

Properties

| Edit this page View Source

Color

Gets or sets the Color of this GradientStop.

Declaration
public Color Color { get; set; }
Property Value
Type Description
Color
| Edit this page View Source

Offset

Gets or sets the percentage offset to place this GradientStop. This should be inside the range of [0..1] but it's not necessary.

Declaration
public float Offset { get; set; }
Property Value
Type Description
float

Implements

IBindable
INotifyPropertyChanged
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX