C# Класс Praeclarum.Graphics.Rectangle

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

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

Свойство Тип Описание
X int

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

Метод Описание
Contains ( int x, int y ) : bool
Inflate ( Size size ) : void
Inflate ( int width, int height ) : void
IntersectsWith ( Rectangle rect ) : bool
Offset ( int dx, int dy ) : void
Rectangle ( int left, int top, int width, int height ) : System
ToString ( ) : string
Union ( Rectangle a, Rectangle b ) : Rectangle

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

Contains() публичный метод

public Contains ( int x, int y ) : bool
x int
y int
Результат bool

Inflate() публичный метод

public Inflate ( Size size ) : void
size Size
Результат void

Inflate() публичный метод

public Inflate ( int width, int height ) : void
width int
height int
Результат void

IntersectsWith() публичный метод

public IntersectsWith ( Rectangle rect ) : bool
rect Rectangle
Результат bool

Offset() публичный метод

public Offset ( int dx, int dy ) : void
dx int
dy int
Результат void

Rectangle() публичный метод

public Rectangle ( int left, int top, int width, int height ) : System
left int
top int
width int
height int
Результат System

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

public ToString ( ) : string
Результат string

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

public static Union ( Rectangle a, Rectangle b ) : Rectangle
a Rectangle
b Rectangle
Результат Rectangle

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

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

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