C# 클래스 OpenBveApi.Colors.Color96

Represents a 96-bit color with red, green and blue channels at 32 bits each.
파일 보기 프로젝트 열기: leezer3/OpenBVE 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
B float
Black Color96
Blue Color96
Cyan Color96
G float
Green Color96
Magenta Color96
R float
Red Color96
White Color96
Yellow Color96

공개 메소드들

메소드 설명
Color96 ( float r, float g, float b ) : System

Creates a new color.

operator ( ) : bool

Checks whether two colors are equal.

메소드 상세

Color96() 공개 메소드

Creates a new color.
public Color96 ( float r, float g, float b ) : System
r float The red component.
g float The green component.
b float The blue component.
리턴 System

operator() 공개 정적인 메소드

Checks whether two colors are equal.
public static operator ( ) : bool
리턴 bool

프로퍼티 상세

B 공개적으로 프로퍼티

The blue component.
public float B
리턴 float

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

Represents a black color.
public static Color96,OpenBveApi.Colors Black
리턴 Color96

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

Represents a blue color.
public static Color96,OpenBveApi.Colors Blue
리턴 Color96

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

Represents a cyan color.
public static Color96,OpenBveApi.Colors Cyan
리턴 Color96

G 공개적으로 프로퍼티

The green component.
public float G
리턴 float

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

Represents a green color.
public static Color96,OpenBveApi.Colors Green
리턴 Color96

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

Represents a magenta color.
public static Color96,OpenBveApi.Colors Magenta
리턴 Color96

R 공개적으로 프로퍼티

The red component.
public float R
리턴 float

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

Represents a red color.
public static Color96,OpenBveApi.Colors Red
리턴 Color96

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

Represents a white color.
public static Color96,OpenBveApi.Colors White
리턴 Color96

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

Represents a yellow color.
public static Color96,OpenBveApi.Colors Yellow
리턴 Color96