[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.GradientStop

Class GradientStop

Namespace
GrapeCity.Documents.Drawing
Assembly
GcDocs.Imaging.dll

Represents a transition point in a gradient.

public class GradientStop
Inheritance
object
GradientStop
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

GradientStop(Color, float)

Initializes a new instance of the GradientStop class.

public GradientStop(Color color, float offset)

Parameters

color System.Drawing.Color

The color of this stop.

offset float

The offset of ths stop.

Properties

Color

Gets the color of this gradient stop.

public Color Color { get; }

Property Value

System.Drawing.Color

Offset

Gets the location of this stop within the gradient vector. Valid values are from 0 (vector's start) to 1 (vector's end).

public float Offset { get; }

Property Value

float