C# Class Bounds2D, tutorials

Afficher le fichier Open project: poeticmatter/tutorials Class Usage Examples

Méthodes publiques

Méthode Description
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,

Method Details

Bounds2D() public méthode

public Bounds2D ( ) : System.Collections
Résultat System.Collections

Bounds2D() public méthode

public Bounds2D ( int x, int y, int width, int height ) : System.Collections
x int
y int
width int
height int
Résultat System.Collections

ToString() public méthode

public ToString ( ) : string
Résultat string

intersection() public méthode

public intersection ( Bounds2D, other ) : Bounds2D,
other Bounds2D,
Résultat Bounds2D,

isHorizontalOverlap() public méthode

public isHorizontalOverlap ( Bounds2D, other ) : bool
other Bounds2D,
Résultat bool

isVerticalOverlap() public méthode

public isVerticalOverlap ( Bounds2D, other ) : bool
other Bounds2D,
Résultat bool

overlaps() public méthode

public overlaps ( Bounds2D, other ) : bool
other Bounds2D,
Résultat bool

toLocal() public méthode

public toLocal ( Bounds2D, global ) : Bounds2D,
global Bounds2D,
Résultat Bounds2D,