Skip to main content

PaletteEntry Members

Represents a single element in the Palette.

Constructors

Name Description
PaletteEntry() Initializes a new instance of the PaletteEntry class with the default settings.
PaletteEntry(Color, Color) Initializes a new instance of the PaletteEntry class with the color.
PaletteEntry(Color) Initializes a new instance of the PaletteEntry class with the specified color.

Properties

Name Description
Color Gets or sets the first color of the palette entry.
Color2 Gets or sets the second color of the palette entry.
IsEmpty Gets a value specifying whether a single element in the Palette is empty.

Methods

Name Description
Assign(PaletteEntry) Copies the colors from the PaletteEntry object passed as the parameter.
Clone() Creates a copy of the current PaletteEntry object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also