Struct ColorEntry
A struct representing a color entry in a gradient.
Inherited Members
Namespace: Unity.AppUI.Core
Assembly: solution.dll
Syntax
public readonly struct ColorEntry : IComparable, IEquatable<ColorEntry>
Constructors
Name | Description |
---|---|
ColorEntry(Color, float) | Creates a new ColorEntry. |
Fields
Name | Description |
---|---|
color | The color of the entry. |
position | The position of the entry in the gradient. |
Methods
Name | Description |
---|---|
CompareTo(object) | Compares this ColorEntry to another object. |
Equals(object) | Determines whether the specified object is equal to the current object. |
Equals(ColorEntry) | Determines whether the specified object is equal to the current object. |
GetHashCode() | Serves as the default hash function. |
ToString() | Returns a string representation of the ColorEntry. |