Palette(Palette, Color32, Byte) Constructor

Initializes a new instance of the Palette class from another palette using new backColor and alphaThreshold values.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public Palette(
	Palette palette,
	Color32 backColor,
	byte alphaThreshold
)

Parameters

palette  Palette
The original Palette to get the colors from.
backColor  Color32
The desired BackColor of the new Palette. The Color32.A field of the background color is ignored.
alphaThreshold  Byte
The desired AlphaThreshold of the new Palette.

Exceptions

See Also