C# 클래스 AForge.Imaging.HSL

HSL components
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Hue int
Luminance float
Saturation float

공개 메소드들

메소드 설명
FromRGB ( RGB rgb ) : HSL

Convert from RGB to HSL color space.

FromRGB ( RGB rgb, HSL hsl ) : void

Convert from RGB to HSL color space.

See HSL and HSV Wiki for information about the algorithm to convert from RGB to HSL.

HSL ( ) : System

Initializes a new instance of the HSL class.

HSL ( int hue, float saturation, float luminance ) : System

Initializes a new instance of the HSL class.

ToRGB ( ) : RGB

Convert the color to RGB color space.

ToRGB ( HSL hsl, RGB rgb ) : void

Convert from HSL to RGB color space.

비공개 메소드들

메소드 설명
Hue_2_RGB ( float v1, float v2, float vH ) : float

메소드 상세

FromRGB() 공개 정적인 메소드

Convert from RGB to HSL color space.
public static FromRGB ( RGB rgb ) : HSL
rgb RGB Source color in RGB color space.
리턴 HSL

FromRGB() 공개 정적인 메소드

Convert from RGB to HSL color space.

See HSL and HSV Wiki for information about the algorithm to convert from RGB to HSL.

public static FromRGB ( RGB rgb, HSL hsl ) : void
rgb RGB Source color in RGB color space.
hsl HSL Destination color in HSL color space.
리턴 void

HSL() 공개 메소드

Initializes a new instance of the HSL class.
public HSL ( ) : System
리턴 System

HSL() 공개 메소드

Initializes a new instance of the HSL class.
public HSL ( int hue, float saturation, float luminance ) : System
hue int Hue component.
saturation float Saturation component.
luminance float Luminance component.
리턴 System

ToRGB() 공개 메소드

Convert the color to RGB color space.
public ToRGB ( ) : RGB
리턴 RGB

ToRGB() 공개 정적인 메소드

Convert from HSL to RGB color space.
public static ToRGB ( HSL hsl, RGB rgb ) : void
hsl HSL Source color in HSL color space.
rgb RGB Destination color in RGB color space.
리턴 void

프로퍼티 상세

Hue 공개적으로 프로퍼티

Hue component.
Hue is measured in the range of [0, 359].
public int Hue
리턴 int

Luminance 공개적으로 프로퍼티

Luminance value.
Luminance is measured in the range of [0, 1].
public float Luminance
리턴 float

Saturation 공개적으로 프로퍼티

Saturation component.
Saturation is measured in the range of [0, 1].
public float Saturation
리턴 float