C# Класс Bounds2D, tutorials

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

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

Метод Описание
Bounds2D ( ) : System.Collections
Bounds2D ( int x, int y, int width, int height ) : System.Collections
ToString ( ) : string
intersection ( Bounds2D, other ) : Bounds2D,
isHorizontalOverlap ( Bounds2D, other ) : bool
isVerticalOverlap ( Bounds2D, other ) : bool
overlaps ( Bounds2D, other ) : bool
toLocal ( Bounds2D, global ) : Bounds2D,

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

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

public Bounds2D ( ) : System.Collections
Результат System.Collections

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

public Bounds2D ( int x, int y, int width, int height ) : System.Collections
x int
y int
width int
height int
Результат System.Collections

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

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

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

public intersection ( Bounds2D, other ) : Bounds2D,
other Bounds2D,
Результат Bounds2D,

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

public isHorizontalOverlap ( Bounds2D, other ) : bool
other Bounds2D,
Результат bool

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

public isVerticalOverlap ( Bounds2D, other ) : bool
other Bounds2D,
Результат bool

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

public overlaps ( Bounds2D, other ) : bool
other Bounds2D,
Результат bool

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

public toLocal ( Bounds2D, global ) : Bounds2D,
global Bounds2D,
Результат Bounds2D,