Click or drag to resize

ColorByte Constructor (Int32, Int32, Int32, Int32)

Constructs an RGBA color from scalars representing red, green, blue and alpha values.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public ColorByte(
	int red,
	int green,
	int blue,
	int alpha = 255
)

Parameters

red
Type: SystemInt32
Red component value from 0 to 255.
green
Type: SystemInt32
Green component value from 0 to 255.
blue
Type: SystemInt32
Blue component value from 0 to 255.
alpha (Optional)
Type: SystemInt32
Alpha component value from 0 to 255.
See Also