C# 클래스 Hourglass.Extensions.ColorExtensions

Provides utility methods for the Color struct.
파일 보기 프로젝트 열기: Dziemborowicz/Hourglass

공개 메소드들

메소드 설명
FromString ( string colorString ) : Color

Converts a string representation of a Color into a Color.

ToInt ( this color ) : int

Converts a Color to an int representation.

메소드 상세

FromString() 공개 정적인 메소드

Converts a string representation of a Color into a Color.
public static FromString ( string colorString ) : Color
colorString string A representation of a .
리턴 Color

ToInt() 공개 정적인 메소드

Converts a Color to an int representation.
public static ToInt ( this color ) : int
color this A .
리턴 int