C# Класс NewTOAPIA.DirectShow.DsRect

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
bottom int
left int
right int
top int

Открытые методы

Метод Описание
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

Описание методов

DsRect() публичный Метод

Empty contructor. Initialize all fields to 0
public DsRect ( ) : System
Результат System

DsRect() публичный Метод

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
Результат System

DsRect() публичный Метод

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
Результат System

FromRectangle() публичный статический Метод

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
Результат DsRect

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

ToRectangle() публичный Метод

Get the System.Drawing.Rectangle equivalent to this DirectShowLib.DsRect instance.
public ToRectangle ( ) : Rectangle
Результат System.Drawing.Rectangle

ToString() публичный Метод

Provide de string representation of this DsRect instance
public ToString ( ) : string
Результат string

Описание свойств

bottom публичное свойство

public int bottom
Результат int

left публичное свойство

public int left
Результат int

right публичное свойство

public int right
Результат int

top публичное свойство

public int top
Результат int