C# 클래스 Nexus.Graphics.Colors.Color

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

공개 프로퍼티들

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

공개 메소드들

메소드 설명
Clone ( ) : Color
Color ( byte r, byte g, byte b ) : System
Color ( byte a, byte r, byte g, byte b ) : System
FromArgb ( byte alpha, Color baseColor ) : Color
FromArgb ( byte alpha, byte red, byte green, byte blue ) : Color
FromHexRef ( string hexRef ) : Color
FromNonPremultiplied ( byte r, byte g, byte b, byte a ) : Color
FromRgb ( byte red, byte green, byte blue ) : Color
GetMeanBrightness ( ) : int
Lerp ( float t, Color rgb1, Color rgb2 ) : Color
ToVector3D ( ) : Vector3D
operator ( ) : Color

메소드 상세

Clone() 공개 메소드

public Clone ( ) : Color
리턴 Color

Color() 공개 메소드

public Color ( byte r, byte g, byte b ) : System
r byte
g byte
b byte
리턴 System

Color() 공개 메소드

public Color ( byte a, byte r, byte g, byte b ) : System
a byte
r byte
g byte
b byte
리턴 System

FromArgb() 공개 정적인 메소드

public static FromArgb ( byte alpha, Color baseColor ) : Color
alpha byte
baseColor Color
리턴 Color

FromArgb() 공개 정적인 메소드

public static FromArgb ( byte alpha, byte red, byte green, byte blue ) : Color
alpha byte
red byte
green byte
blue byte
리턴 Color

FromHexRef() 공개 정적인 메소드

public static FromHexRef ( string hexRef ) : Color
hexRef string
리턴 Color

FromNonPremultiplied() 공개 정적인 메소드

public static FromNonPremultiplied ( byte r, byte g, byte b, byte a ) : Color
r byte
g byte
b byte
a byte
리턴 Color

FromRgb() 공개 정적인 메소드

public static FromRgb ( byte red, byte green, byte blue ) : Color
red byte
green byte
blue byte
리턴 Color

GetMeanBrightness() 공개 메소드

public GetMeanBrightness ( ) : int
리턴 int

Lerp() 공개 정적인 메소드

public static Lerp ( float t, Color rgb1, Color rgb2 ) : Color
t float
rgb1 Color
rgb2 Color
리턴 Color

ToVector3D() 공개 메소드

public ToVector3D ( ) : Vector3D
리턴 Vector3D

operator() 공개 정적인 메소드

public static operator ( ) : Color
리턴 Color

프로퍼티 상세

A 공개적으로 프로퍼티

public byte A
리턴 byte

B 공개적으로 프로퍼티

public byte B
리턴 byte

G 공개적으로 프로퍼티

public byte G
리턴 byte

R 공개적으로 프로퍼티

public byte R
리턴 byte