Show / Hide Table of Contents

Struct GradientStopSerialized

Serializable (pure-data) object representing a GradientStop.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: SadRogue.Primitives.SerializedTypes
Assembly: TheSadRogue.Primitives.dll
Syntax
public struct GradientStopSerialized

Fields

View Source

Color

Color of the stop.

Declaration
public ColorSerialized Color
Field Value
Type Description
ColorSerialized
View Source

Stop

Location where the stop is used.

Declaration
public float Stop
Field Value
Type Description
float

Operators

View Source

implicit operator GradientStopSerialized(GradientStop)

Converts from GradientStop to GradientStopSerialized.

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

implicit operator GradientStop(GradientStopSerialized)

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>>?)
  • View Source
In this article
Back to top Generated by DocFX