PColor32FromArgb(Byte, Color32) Method

Creates a PColor32 instance from the specified Color32 structure specifying a custom 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 PColor32 FromArgb(
	byte a,
	Color32 baseColor
)

Parameters

a  Byte
The alpha value for the result PColor32 instance.
baseColor  Color32
The Color32 instance to which apply the new alpha.

Return Value

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

See Also