IColorRegistry.Register method (1 of 2)
Registers a color slot whose default is the same defaultAll for every theme preset. Convenience over the per-preset dictionary overload.
public IColorSlot Register(string key, string label, ColorRgba defaultAll)See Also
Section titled “See Also”- interface IColorSlot
- struct ColorRgba
- interface IColorRegistry
- namespace Stellar.Abstractions.Services
IColorRegistry.Register method (2 of 2)
Section titled “IColorRegistry.Register method (2 of 2)”Registers a color slot with per-preset defaults.
public IColorSlot Register(string key, string label, IReadOnlyDictionary<ThemePreset, ColorRgba> defaults)See Also
Section titled “See Also”- interface IColorSlot
- enum ThemePreset
- struct ColorRgba
- interface IColorRegistry
- namespace Stellar.Abstractions.Services