C# Class R3.Drawing.Coloring

Afficher le fichier Open project: roice3/Honeycombs

Méthodes publiques

Méthode Description
ColorAlongHexagon ( int incrementsUntilRepeat, int increments ) : Color

This will calculate the color along a hexagon on the edges of an RGB cube. incrementsUntilRepeat is the value where we return to the starting point of the hexagon (white). increments is used as the distance-along-hexagon parameter.

DepthColor ( int depth, double colorScaling, bool invert = false ) : Color

This method allows calculating a color based on a color scaling input. This was the way I did this for a long time and for many images, until working with Henry on coloring. Keeping this code here for reference.

Private Methods

Méthode Description
Inverse ( Color c ) : Color

Method Details

ColorAlongHexagon() public static méthode

This will calculate the color along a hexagon on the edges of an RGB cube. incrementsUntilRepeat is the value where we return to the starting point of the hexagon (white). increments is used as the distance-along-hexagon parameter.
public static ColorAlongHexagon ( int incrementsUntilRepeat, int increments ) : Color
incrementsUntilRepeat int
increments int
Résultat Color

DepthColor() public static méthode

This method allows calculating a color based on a color scaling input. This was the way I did this for a long time and for many images, until working with Henry on coloring. Keeping this code here for reference.
public static DepthColor ( int depth, double colorScaling, bool invert = false ) : Color
depth int
colorScaling double
invert bool
Résultat Color