C# 클래스 MonoDroid.ColorPickers.ColorUtils

파일 보기 프로젝트 열기: Cheesebaron/MonoDroid.ColorPickers

공개 메소드들

메소드 설명
ColorFromHSV ( HSV hsv, int alpha = 255 ) : Color
ColorFromHSV ( float hue, float saturation, float value, int alpha = 255 ) : Color

From http://stackoverflow.com/questions/10289279/converting-hsv-circle-code-from-delphi-to-c-sharp

ColorToHSV ( Color color ) : HSV
ColorToHSV ( int r, int g, int b, float h ) : HSV

메소드 상세

ColorFromHSV() 공개 정적인 메소드

public static ColorFromHSV ( HSV hsv, int alpha = 255 ) : Color
hsv HSV
alpha int
리턴 Color

ColorFromHSV() 공개 정적인 메소드

From http://stackoverflow.com/questions/10289279/converting-hsv-circle-code-from-delphi-to-c-sharp
public static ColorFromHSV ( float hue, float saturation, float value, int alpha = 255 ) : Color
hue float
saturation float
value float
alpha int
리턴 Color

ColorToHSV() 공개 정적인 메소드

public static ColorToHSV ( Color color ) : HSV
color Color
리턴 HSV

ColorToHSV() 공개 정적인 메소드

public static ColorToHSV ( int r, int g, int b, float h ) : HSV
r int
g int
b int
h float
리턴 HSV