Table of Contents

Method InvertSaturation

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

InvertSaturation(IGenerator<Color>)

Creates a generator that inverts the saturation of colors generated by the specified source.

public static IGenerator<Color> InvertSaturation(this IGenerator<Color> source)

Parameters

source IGenerator<Color>

The source generator.

Returns

IGenerator<Color>

InvertSaturation(IGenerator<ColorHSL>)

Creates a generator that inverts the saturation of HSL colors generated by the specified source.

public static IGenerator<ColorHSL> InvertSaturation(this IGenerator<ColorHSL> source)

Parameters

source IGenerator<ColorHSL>

The source generator.

Returns

IGenerator<ColorHSL>