Color32FromArgb(Byte, Color32) Method

Creates a Color32 instance from the specified Color32 structure, but with the new specified alpha value.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public static Color32 FromArgb(
	byte a,
	Color32 baseColor
)

Parameters

a  Byte
The alpha value for the new Color32 instance.
baseColor  Color32
The Color32 instance from which to create the new one.

Return Value

Color32
A Color32 instance from the specified Color32 structure and alpha value.

See Also