C# Класс ZForge.Controls.ExplorerBar.RECT

Показать файл Открыть проект Примеры использования класса

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

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

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

Метод Описание
FromRectangle ( Rectangle rect ) : RECT

Creates a new RECT struct from the specified Rectangle

FromXYWH ( int x, int y, int width, int height ) : RECT

Creates a new RECT struct with the specified location and size

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

Creates a new RECT struct with the specified location and size

ToRectangle ( ) : Rectangle

Returns a Rectangle with the same location and size as the RECT

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

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

Creates a new RECT struct from the specified Rectangle
public static FromRectangle ( Rectangle rect ) : RECT
rect System.Drawing.Rectangle The Rectangle to create the RECT from
Результат RECT

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

Creates a new RECT struct with the specified location and size
public static FromXYWH ( int x, int y, int width, int height ) : RECT
x int The x-coordinate of the upper-left corner of the RECT
y int The y-coordinate of the upper-left corner of the RECT
width int The width of the RECT
height int The height of the RECT
Результат RECT

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

Creates a new RECT struct with the specified location and size
public RECT ( int left, int top, int right, int bottom ) : System
left int The x-coordinate of the upper-left corner of the RECT
top int The y-coordinate of the upper-left corner of the RECT
right int The x-coordinate of the lower-right corner of the RECT
bottom int The y-coordinate of the lower-right corner of the RECT
Результат System

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

Returns a Rectangle with the same location and size as the RECT
public ToRectangle ( ) : Rectangle
Результат System.Drawing.Rectangle

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

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

Specifies the y-coordinate of the lower-right corner of the RECT
public int bottom
Результат int

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

Specifies the x-coordinate of the upper-left corner of the RECT
public int left
Результат int

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

Specifies the x-coordinate of the lower-right corner of the RECT
public int right
Результат int

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

Specifies the y-coordinate of the upper-left corner of the RECT
public int top
Результат int