Show / Hide Table of Contents

Struct PaletteSerialized

Serializable (pure-data) object representing a Palette.

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 PaletteSerialized

Fields

View Source

Colors

Colors in the palette.

Declaration
public List<ColorSerialized> Colors
Field Value
Type Description
List<ColorSerialized>

Operators

View Source

implicit operator PaletteSerialized(Palette)

Converts from Palette to PaletteSerialized.

Declaration
public static implicit operator PaletteSerialized(Palette palette)
Parameters
Type Name Description
Palette palette
Returns
Type Description
PaletteSerialized
View Source

implicit operator Palette(PaletteSerialized)

Converts from PaletteSerialized to Palette.

Declaration
public static implicit operator Palette(PaletteSerialized serialized)
Parameters
Type Name Description
PaletteSerialized serialized
Returns
Type Description
Palette

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