• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ColorPalette

Defines an array of colors that make up a color palette.

Inheritance
object
ColorPalette
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Imaging
Assembly: DRIT.Drawing.dll
Syntax
public sealed class ColorPalette

Constructors

ColorPalette()

Initializes a new ColorPalette with an empty entries array.

Declaration
public ColorPalette()

ColorPalette(int, Color[])

Initializes a new ColorPalette with the specified flags and entries.

Declaration
public ColorPalette(int flags, Color[] entries)
Parameters
Type Name Description
int flags

The palette flags.

Color[] entries

The color entries for the palette.

Properties

Entries

Gets or sets the array of colors in the palette.

Declaration
public Color[] Entries { get; set; }
Property Value
Type Description
Color[]

Flags

Gets or sets the flags for the palette.

Declaration
public int Flags { get; set; }
Property Value
Type Description
int
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX