Show / Hide Table of Contents

Class GradientStopSerialized

Serializable (pure-data) object representing a GradientStop.

Inheritance
Object
GradientStopSerialized
Namespace: SadRogue.Primitives.SerializedTypes
Assembly: TheSadRogue.Primitives.dll
Syntax
public sealed class GradientStopSerialized : ValueType

Fields

Color

Color of the stop.

Declaration
public ColorSerialized Color
Field Value
Type Description
ColorSerialized

Stop

Location where the stop is used.

Declaration
public float Stop
Field Value
Type Description
Single

Operators

Implicit(GradientStop to GradientStopSerialized)

Converts from GradientStop to GradientStopSerialized.

Declaration
public static implicit operator GradientStopSerialized(GradientStop stop)
Parameters
Type Name Description
GradientStop stop
Returns
Type Description
GradientStopSerialized

Implicit(GradientStopSerialized to GradientStop)

Converts from GradientStopSerialized to GradientStop.

Declaration
public static implicit operator GradientStop(GradientStopSerialized serialized)
Parameters
Type Name Description
GradientStopSerialized serialized
Returns
Type Description
GradientStop

Extension Methods

PropertyChangedEventHelpers.SafelySetProperty<TObject, TProperty>(TObject, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>)
PropertyChangedEventHelpers.SafelySetProperty<TObject, TProperty>(TObject, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>, EventHandler<ValueChangedEventArgs<TProperty>>)
In This Article
Back to top Generated by DocFX