C# 클래스 Vector.RayTracing.Color

파일 보기 프로젝트 열기: sinclairzx81/vector-cs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
b float
background Color
black Color
defaultColor Color
g float
grey Color
r float
white Color

공개 메소드들

메소드 설명
Color ( )
Color ( float r, float b, float g )
plus ( Color v1, Color v2 ) : Color
scale ( float k, Color v ) : Color
times ( Color v1, Color v2 ) : Color
toDrawingColor ( Color color ) : System.Drawing.Color

메소드 상세

Color() 공개 메소드

public Color ( )

Color() 공개 메소드

public Color ( float r, float b, float g )
r float
b float
g float

plus() 공개 정적인 메소드

public static plus ( Color v1, Color v2 ) : Color
v1 Color
v2 Color
리턴 Color

scale() 공개 정적인 메소드

public static scale ( float k, Color v ) : Color
k float
v Color
리턴 Color

times() 공개 정적인 메소드

public static times ( Color v1, Color v2 ) : Color
v1 Color
v2 Color
리턴 Color

toDrawingColor() 공개 정적인 메소드

public static toDrawingColor ( Color color ) : System.Drawing.Color
color Color
리턴 System.Drawing.Color

프로퍼티 상세

b 공개적으로 프로퍼티

public float b
리턴 float

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

public static Color,Vector.RayTracing background
리턴 Color

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

public static Color,Vector.RayTracing black
리턴 Color

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

public static Color,Vector.RayTracing defaultColor
리턴 Color

g 공개적으로 프로퍼티

public float g
리턴 float

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

public static Color,Vector.RayTracing grey
리턴 Color

r 공개적으로 프로퍼티

public float r
리턴 float

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

public static Color,Vector.RayTracing white
리턴 Color