PColor32FromArgb(UInt32) Method
Creates a
PColor32 structure from a 32-bit ARGB value.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.1
[CLSCompliantAttribute(false)]
public static PColor32 FromArgb(
uint argb
)
<CLSCompliantAttribute(false)>
Public Shared Function FromArgb (
argb As UInteger
) As PColor32
public:
[CLSCompliantAttribute(false)]
static PColor32 FromArgb(
unsigned int argb
)
[<CLSCompliantAttribute(false)>]
static member FromArgb :
argb : uint32 -> PColor32
- 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.
PColor32A
PColor32 structure from the specified 32-bit ARGB value.