from_rgba method

from_rgba

Creates one Argb32Color value from specified Red, Green, Blue, and Alpha channels

Returns

New Argb32Color value

def from_rgba(self, red, green, blue, alpha):
    ...
Parameter Type Description
red int Red channel value
green int Green channel value
blue int Blue channel value
alpha int Alpha channel value

See Also