C# Class SwfDotNet.IO.Tags.Types.Rect

Rect
Inheritance: SizeStruct, ISwfSerializer
显示文件 Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
GetSizeOf ( ) : int

Gets the size of.

ReadData ( BufferedBinaryReader binaryReader ) : void

Reads the data from a binary file

Rect ( ) : System

Creates a new Rect instance.

Rect ( int xMax, int yMax ) : System

Creates a new Rect instance.

Rect ( int xMin, int yMin, int xMax, int yMax ) : System

Creates a new Rect instance.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

WriteTo ( BufferedBinaryWriter writer ) : void

Writes to a binary writer.

Private Methods

Method Description
GetNumBits ( ) : uint

Gets the num bits.

Method Details

GetSizeOf() public method

Gets the size of.
public GetSizeOf ( ) : int
return int

ReadData() public method

Reads the data from a binary file
public ReadData ( BufferedBinaryReader binaryReader ) : void
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
return void

Rect() public method

Creates a new Rect instance.
public Rect ( ) : System
return System

Rect() public method

Creates a new Rect instance.
public Rect ( int xMax, int yMax ) : System
xMax int X max (in twips unit: 1 px = 20 twips).
yMax int Y max (in twips unit: 1 px = 20 twips).
return System

Rect() public method

Creates a new Rect instance.
public Rect ( int xMin, int yMin, int xMax, int yMax ) : System
xMin int X min (in twips unit: 1 px = 20 twips).
yMin int Y min (in twips unit: 1 px = 20 twips).
xMax int X max (in twips unit: 1 px = 20 twips).
yMax int Y max (in twips unit: 1 px = 20 twips).
return System

Serialize() public method

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

WriteTo() public method

Writes to a binary writer.
public WriteTo ( BufferedBinaryWriter writer ) : void
writer SwfDotNet.IO.Utils.BufferedBinaryWriter Writer.
return void