Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

ColorPalette Constructor (RgbColor[], Boolean)

Creates and initializes new ColorPalette class instance. You can initialize palette with given array entries here.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub New ( _
	entries As RgbColor(), _
	hasAlpha As Boolean _
)
C#
public ColorPalette(
	RgbColor[] entries,
	bool hasAlpha
)

Parameters

entries

Type: Aurigma.GraphicsMill.RgbColor []

Array of colors to initialize the palette with.
hasAlpha

Type: System.Boolean

Value indicating if palette entries should support alpha channel (information about pixel transparency).

See Also

Reference