C# 클래스 tsge.Extensions.ColorExtensions

파일 보기 프로젝트 열기: Walkman100/TSGE

공개 메소드들

메소드 설명
FromBytes ( this c, byte btColor ) : Color

Converts a byte array of three bytes to a System.Drawing.Color.

ToBytes ( this c ) : byte[]

Converts a System.Drawing.Color to a three byte array.

메소드 상세

FromBytes() 공개 정적인 메소드

Converts a byte array of three bytes to a System.Drawing.Color.
public static FromBytes ( this c, byte btColor ) : Color
c this
btColor byte
리턴 Color

ToBytes() 공개 정적인 메소드

Converts a System.Drawing.Color to a three byte array.
public static ToBytes ( this c ) : byte[]
c this
리턴 byte[]