PColor32FromArgb(Int32) 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
public static PColor32 FromArgb(
int argb
)
Public Shared Function FromArgb (
argb As Integer
) As PColor32
public:
static PColor32 FromArgb(
int argb
)
static member FromArgb :
argb : int -> PColor32
- argb Int32
- 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.