C# Class NewTOAPIA.DirectShow.DsRect

Afficher le fichier Open project: Wiladams/NewTOAPIA

Méthodes publiques

Свойство Type Description
bottom int
left int
right int
top int

Méthodes publiques

Méthode 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 méthode

Empty contructor. Initialize all fields to 0
public DsRect ( ) : System
Résultat System

DsRect() public méthode

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
Résultat System

DsRect() public méthode

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
Résultat System

FromRectangle() public static méthode

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
Résultat DsRect

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

ToRectangle() public méthode

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

ToString() public méthode

Provide de string representation of this DsRect instance
public ToString ( ) : string
Résultat string

Property Details

bottom public_oe property

public int bottom
Résultat int

left public_oe property

public int left
Résultat int

right public_oe property

public int right
Résultat int

top public_oe property

public int top
Résultat int