C# 클래스 Microsoft.Windows.Controls.Core.Utilities.ColorUtilities

파일 보기 프로젝트 열기: Invenietis/ck-certified

공개 프로퍼티들

프로퍼티 타입 설명
KnownColors Color>.Dictionary

공개 메소드들

메소드 설명
ConvertHsvToRgb ( double h, double s, double v ) : Color

Converts an HSV color to an RGB color.

ConvertRgbToHsv ( int r, int b, int g ) : Microsoft.Windows.Controls.Primitives.HsvColor

Converts an RGB color to an HSV color.

GenerateHsvSpectrum ( ) : List

Generates a list of colors with hues ranging from 0 360 and a saturation and value of 1.

GetColorName ( this color ) : string

비공개 메소드들

메소드 설명
GetKnownColors ( ) : Color>.Dictionary

메소드 상세

ConvertHsvToRgb() 공개 정적인 메소드

Converts an HSV color to an RGB color.
public static ConvertHsvToRgb ( double h, double s, double v ) : Color
h double
s double
v double
리턴 Color

ConvertRgbToHsv() 공개 정적인 메소드

Converts an RGB color to an HSV color.
public static ConvertRgbToHsv ( int r, int b, int g ) : Microsoft.Windows.Controls.Primitives.HsvColor
r int
b int
g int
리턴 Microsoft.Windows.Controls.Primitives.HsvColor

GenerateHsvSpectrum() 공개 정적인 메소드

Generates a list of colors with hues ranging from 0 360 and a saturation and value of 1.
public static GenerateHsvSpectrum ( ) : List
리턴 List

GetColorName() 공개 정적인 메소드

public static GetColorName ( this color ) : string
color this
리턴 string

프로퍼티 상세

KnownColors 공개적으로 정적으로 프로퍼티

public static Dictionary KnownColors
리턴 Color>.Dictionary