Show / Hide Table of Contents

Class PaletteSerialized

Serializable (pure-data) object representing a Palette.

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

Fields

Colors

Colors in the palette.

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

Operators

Implicit(Palette to PaletteSerialized)

Converts from Palette to PaletteSerialized.

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

Implicit(PaletteSerialized to Palette)

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>>)
In This Article
Back to top Generated by DocFX