Palette(Palette, Color32, Byte) Constructor
Initializes a new instance of the
Palette class from another
palette using
new
backColor and
alphaThreshold values.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public Palette(
Palette palette,
Color32 backColor,
byte alphaThreshold
)
Public Sub New (
palette As Palette,
backColor As Color32,
alphaThreshold As Byte
)
public:
Palette(
Palette^ palette,
Color32 backColor,
unsigned char alphaThreshold
)
new :
palette : Palette *
backColor : Color32 *
alphaThreshold : byte -> Palette
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.