paintFromRGBA

Gets a painting from RGBA.

paintFromRGBA
(
ubyte r
,
ubyte g
,
ubyte b
,
ubyte a = 0xff
)

Parameters

r ubyte

The red channel.

g ubyte

The green channel.

b ubyte

The blue channel.

a ubyte

The alpha channel.

Return Value

Type: Paint

The paint.

Meta