Table of Contents

Method InvertLuminance

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

InvertLuminance(IGenerator<Color>)

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

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

Parameters

source IGenerator<Color>

The source generator.

Returns

IGenerator<Color>

InvertLuminance(IGenerator<ColorHSL>)

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

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

Parameters

source IGenerator<ColorHSL>

The source generator.

Returns

IGenerator<ColorHSL>