Manual

ColorId

struct in Doozy.Engine.Themes

Description

Structure that stores a Color and Guid pair

Properties

  • public Guid Id – Id of this struct

  • public Color Color– Color of this struct

Constructors

  • public ColorId(Color color) – Construct a new ColorId with the given Color and a unique Id

  • public ColorId(Guid id, Color color) – Construct a new ColorId with the given Id and Color value

Public Methods

  • public void SetId(Guid newGuid) – Set the Id value

  • public void SetColor(Color color) – Set the Color value