C# 클래스 PixelMapSharp.Pixel

파일 보기 프로젝트 열기: ruarai/PixelMap 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
A byte
B byte
G byte
R byte

공개 메소드들

메소드 설명
Pixel ( Color c ) : System

Creates a pixel from a System.Drawing color.

Pixel ( byte r, byte g, byte b ) : System

Creates a pixel from RGB values.

Pixel ( byte a, byte r, byte g, byte b ) : System

Creates a pixel from ARGB values.

Pixel ( double hue, double saturation, double lightness ) : System

Creates a pixel from HSL values.

Pixel ( double hue, double saturation, double lightness, byte alpha ) : System

Creates a pixel from HSL-A values.

Pixel ( int r, int g, int b ) : System

Creates a pixel from integer RGB values.

Pixel ( int a, int r, int g, int b ) : System

Creates a pixel from ARGB values.

operator ( ) : Pixel

Multiplicative mix of two pixels.

비공개 메소드들

메소드 설명
hueToRGB ( double p, double q, double t ) : double
window ( double c ) : byte

메소드 상세

Pixel() 공개 메소드

Creates a pixel from a System.Drawing color.
public Pixel ( Color c ) : System
c Color
리턴 System

Pixel() 공개 메소드

Creates a pixel from RGB values.
public Pixel ( byte r, byte g, byte b ) : System
r byte
g byte
b byte
리턴 System

Pixel() 공개 메소드

Creates a pixel from ARGB values.
public Pixel ( byte a, byte r, byte g, byte b ) : System
a byte
r byte
g byte
b byte
리턴 System

Pixel() 공개 메소드

Creates a pixel from HSL values.
public Pixel ( double hue, double saturation, double lightness ) : System
hue double
saturation double
lightness double
리턴 System

Pixel() 공개 메소드

Creates a pixel from HSL-A values.
public Pixel ( double hue, double saturation, double lightness, byte alpha ) : System
hue double
saturation double
lightness double
alpha byte
리턴 System

Pixel() 공개 메소드

Creates a pixel from integer RGB values.
public Pixel ( int r, int g, int b ) : System
r int
g int
b int
리턴 System

Pixel() 공개 메소드

Creates a pixel from ARGB values.
public Pixel ( int a, int r, int g, int b ) : System
a int
r int
g int
b int
리턴 System

operator() 공개 정적인 메소드

Multiplicative mix of two pixels.
public static operator ( ) : Pixel
리턴 Pixel

프로퍼티 상세

A 공개적으로 프로퍼티

The alpha value of the Pixel from 0 to 255.
public byte A
리턴 byte

B 공개적으로 프로퍼티

The blue value of the Pixel from 0 to 255.
public byte B
리턴 byte

G 공개적으로 프로퍼티

The green value of the Pixel from 0 to 255.
public byte G
리턴 byte

R 공개적으로 프로퍼티

The red value of the Pixel from 0 to 255.
public byte R
리턴 byte