Color.WithLuminosity

Color.WithLuminosity method

Creates copy of the Color with specified luminosity.

public Color WithLuminosity(float luminosity)
ParameterTypeDescription
luminositySingleValue of luminosity

Return Value

A new instance of the Color class.

See Also