C# 클래스 R3.Drawing.Coloring

파일 보기 프로젝트 열기: roice3/Honeycombs

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
Inverse ( Color c ) : Color

메소드 상세

ColorAlongHexagon() 공개 정적인 메소드

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
리턴 Color

DepthColor() 공개 정적인 메소드

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
리턴 Color