C# Class Bounds2D, tutorials

Mostrar archivo Open project: poeticmatter/tutorials Class Usage Examples

Public Methods

Method 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 method

public Bounds2D ( ) : System.Collections
return System.Collections

Bounds2D() public method

public Bounds2D ( int x, int y, int width, int height ) : System.Collections
x int
y int
width int
height int
return System.Collections

ToString() public method

public ToString ( ) : string
return string

intersection() public method

public intersection ( Bounds2D, other ) : Bounds2D,
other Bounds2D,
return Bounds2D,

isHorizontalOverlap() public method

public isHorizontalOverlap ( Bounds2D, other ) : bool
other Bounds2D,
return bool

isVerticalOverlap() public method

public isVerticalOverlap ( Bounds2D, other ) : bool
other Bounds2D,
return bool

overlaps() public method

public overlaps ( Bounds2D, other ) : bool
other Bounds2D,
return bool

toLocal() public method

public toLocal ( Bounds2D, global ) : Bounds2D,
global Bounds2D,
return Bounds2D,