C# Class NewTOAPIA.DirectShow.DsRect

ファイルを表示 Open project: Wiladams/NewTOAPIA

Public Properties

Property Type Description
bottom int
left int
right int
top int

Public Methods

Method Description
DsRect ( ) : System

Empty contructor. Initialize all fields to 0

DsRect ( Rectangle rectangle ) : System

A parametred constructor. Initialize fields with a given System.Drawing.Rectangle.

Warning, DsRect define a rectangle by defining two of his corners and System.Drawing.Rectangle define a rectangle with his upper/left corner, his width and his height.

DsRect ( int left, int top, int right, int bottom ) : System

A parametred constructor. Initialize fields with given values.

FromRectangle ( Rectangle r ) : DsRect

Get a new DirectShowLib.DsRect instance for a given System.Drawing.Rectangle

GetHashCode ( ) : int
ToRectangle ( ) : Rectangle

Get the System.Drawing.Rectangle equivalent to this DirectShowLib.DsRect instance.

ToString ( ) : string

Provide de string representation of this DsRect instance

Method Details

DsRect() public method

Empty contructor. Initialize all fields to 0
public DsRect ( ) : System
return System

DsRect() public method

A parametred constructor. Initialize fields with a given System.Drawing.Rectangle.
Warning, DsRect define a rectangle by defining two of his corners and System.Drawing.Rectangle define a rectangle with his upper/left corner, his width and his height.
public DsRect ( Rectangle rectangle ) : System
rectangle System.Drawing.Rectangle A
return System

DsRect() public method

A parametred constructor. Initialize fields with given values.
public DsRect ( int left, int top, int right, int bottom ) : System
left int the left value
top int the top value
right int the right value
bottom int the bottom value
return System

FromRectangle() public static method

Get a new DirectShowLib.DsRect instance for a given System.Drawing.Rectangle
public static FromRectangle ( Rectangle r ) : DsRect
r System.Drawing.Rectangle The used to initialize this new DirectShowLib.DsGuid
return DsRect

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToRectangle() public method

Get the System.Drawing.Rectangle equivalent to this DirectShowLib.DsRect instance.
public ToRectangle ( ) : Rectangle
return System.Drawing.Rectangle

ToString() public method

Provide de string representation of this DsRect instance
public ToString ( ) : string
return string

Property Details

bottom public_oe property

public int bottom
return int

left public_oe property

public int left
return int

right public_oe property

public int right
return int

top public_oe property

public int top
return int