PColor32FromArgb(UInt32) Method

Creates a PColor32 structure from a 32-bit ARGB value.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.1
C#
[CLSCompliantAttribute(false)]
public static PColor32 FromArgb(
	uint argb
)

Parameters

argb  UInt32
A value specifying the 32-bit ARGB value. As a hex value it can be specified as 0xAA_RR_GG_BB where AA is the most significant byte (MSB) and BB is the least significant byte (LSB). The parameter is not validated, but you can use the IsValid property or the Clip method on the created result.

Return Value

PColor32
A PColor32 structure from the specified 32-bit ARGB value.

See Also