PColor64(UInt16, UInt16, UInt16, UInt16) Constructor

Initializes a new instance of the PColor64 struct from ARGB (alpha, red, green, and blue) values. For performance reasons this overload does not validate the parameters, but you can use the PColor64(UInt16, UInt16, UInt16, UInt16, Boolean) constructor or the IsValid property for validation, or the Clip method to return a valid instance.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.1
C#
[CLSCompliantAttribute(false)]
public PColor64(
	ushort a,
	ushort r,
	ushort g,
	ushort b
)

Parameters

a  UInt16
The alpha component.
r  UInt16
The red component.
g  UInt16
The green component.
b  UInt16
The blue component.

See Also