C# 클래스 Open.Core.Color

Class for working with colors.
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL

공개 메소드들

메소드 설명
Black ( double opacity ) : string

Gets an RGBA value of black at the given opacity.

Green ( double opacity ) : string

Gets an RGBA value of green at the given opacity.

HotPink ( double opacity ) : string

Gets an RGBA value of hot-pink (magenta) at the given opacity.

Orange ( double opacity ) : string

Gets an RGBA value of orange at the given opacity.

Red ( double opacity ) : string

Gets an RGBA value of red at the given opacity.

White ( double opacity ) : string

Gets an RGBA value of white at the given opacity.

비공개 메소드들

메소드 설명
Black ( ) : string
Green ( ) : string
HotPink ( ) : string
Orange ( ) : string
Red ( ) : string
ToColor ( int r, int g, int b, double percent ) : string
White ( ) : string

메소드 상세

Black() 공개 정적인 메소드

Gets an RGBA value of black at the given opacity.
public static Black ( double opacity ) : string
opacity double The opacity percentage (0..1).
리턴 string

Green() 공개 정적인 메소드

Gets an RGBA value of green at the given opacity.
public static Green ( double opacity ) : string
opacity double The opacity percentage (0..1).
리턴 string

HotPink() 공개 정적인 메소드

Gets an RGBA value of hot-pink (magenta) at the given opacity.
public static HotPink ( double opacity ) : string
opacity double The opacity percentage (0..1).
리턴 string

Orange() 공개 정적인 메소드

Gets an RGBA value of orange at the given opacity.
public static Orange ( double opacity ) : string
opacity double The opacity percentage (0..1).
리턴 string

Red() 공개 정적인 메소드

Gets an RGBA value of red at the given opacity.
public static Red ( double opacity ) : string
opacity double The opacity percentage (0..1).
리턴 string

White() 공개 정적인 메소드

Gets an RGBA value of white at the given opacity.
public static White ( double opacity ) : string
opacity double The opacity percentage (0..1).
리턴 string