C# 클래스 OpenBveApi.Colors.Color128

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

공개 프로퍼티들

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

공개 메소드들

메소드 설명
Color128 ( Color24 color ) : System

Creates a new color.

The alpha component is set to full opacity.

Color128 ( Color24 color, float a ) : System

Creates a new color.

Color128 ( float r, float g, float b ) : System

Creates a new color.

The alpha component is set to full opacity.

Color128 ( float r, float g, float b, float a ) : System

Creates a new color.

operator ( ) : bool

Checks whether two colors are equal.

메소드 상세

Color128() 공개 메소드

Creates a new color.
The alpha component is set to full opacity.
public Color128 ( Color24 color ) : System
color Color24 The solid color.
리턴 System

Color128() 공개 메소드

Creates a new color.
public Color128 ( Color24 color, float a ) : System
color Color24 The solid color.
a float The alpha component.
리턴 System

Color128() 공개 메소드

Creates a new color.
The alpha component is set to full opacity.
public Color128 ( float r, float g, float b ) : System
r float The red component.
g float The green component.
b float The blue component.
리턴 System

Color128() 공개 메소드

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

operator() 공개 정적인 메소드

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

프로퍼티 상세

A 공개적으로 프로퍼티

The alpha component.
public float A
리턴 float

B 공개적으로 프로퍼티

The blue component.
public float B
리턴 float

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

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

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

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

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

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

G 공개적으로 프로퍼티

The green component.
public float G
리턴 float

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

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

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

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

R 공개적으로 프로퍼티

The red component.
public float R
리턴 float

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

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

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

Represents a transparent black color.
public static Color128,OpenBveApi.Colors Transparent
리턴 Color128

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

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

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

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