C# 클래스 SwfDotNet.IO.Tags.Types.RGBColor

RGBColor class
상속: ISwfSerializer
파일 보기 프로젝트 열기: bladecoding/SwfExport 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
blue byte
green byte
red byte

공개 메소드들

메소드 설명
FromWinColor ( Color color ) : RGBColor

Gets a RGB or RGBA object from a windows color.

GetSizeOf ( ) : int

Gets the size of.

ReadData ( BufferedBinaryReader binaryReader ) : void

Reads the data from the binary reader.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

WriteTo ( BinaryWriter writer ) : void

Writes to a binary writer

보호된 메소드들

메소드 설명
RGBColor ( ) : System

Creates a new RGBColor instance.

RGBColor ( byte red, byte green, byte blue ) : System

Creates a new RGBColor instance.

메소드 상세

FromWinColor() 공개 정적인 메소드

Gets a RGB or RGBA object from a windows color.
public static FromWinColor ( Color color ) : RGBColor
color Color Color.
리턴 RGBColor

GetSizeOf() 공개 추상적인 메소드

Gets the size of.
public abstract GetSizeOf ( ) : int
리턴 int

RGBColor() 보호된 메소드

Creates a new RGBColor instance.
protected RGBColor ( ) : System
리턴 System

RGBColor() 보호된 메소드

Creates a new RGBColor instance.
protected RGBColor ( byte red, byte green, byte blue ) : System
red byte Red.
green byte Green.
blue byte Blue.
리턴 System

ReadData() 공개 메소드

Reads the data from the binary reader.
public ReadData ( BufferedBinaryReader binaryReader ) : void
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
리턴 void

Serialize() 공개 메소드

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
리턴 void

WriteTo() 공개 메소드

Writes to a binary writer
public WriteTo ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter Writer.
리턴 void

프로퍼티 상세

blue 공개적으로 프로퍼티

Blue
public byte blue
리턴 byte

green 공개적으로 프로퍼티

Green
public byte green
리턴 byte

red 공개적으로 프로퍼티

Red
public byte red
리턴 byte