with_hue method

with_hue

Creates copy of the Color with specified Hue.

Returns

A new instance of the Color class.

def with_hue(self, hue):
    ...
ParameterTypeDescription
huefloatValue of Hue.

See Also