C# Class No.UI.Rectangle

Represents a rectangle within a Cartesian coordinate space.
Afficher le fichier Open project: hexafluoride/no Class Usage Examples

Méthodes publiques

Méthode Description
Contains ( Point point ) : bool
Intersects ( Rectangle rect ) : bool
Rectangle ( Point location, Size size ) : System
Rectangle ( Point location, int width, int height ) : System
Rectangle ( int x, int y, Size size ) : System
Rectangle ( int x, int y, int width, int height ) : System
Test ( ) : void

Private Methods

Méthode Description
IntersectCheck ( Rectangle first, Rectangle second ) : bool

Method Details

Contains() public méthode

public Contains ( Point point ) : bool
point Point
Résultat bool

Intersects() public méthode

public Intersects ( Rectangle rect ) : bool
rect Rectangle
Résultat bool

Rectangle() public méthode

public Rectangle ( Point location, Size size ) : System
location Point
size Size
Résultat System

Rectangle() public méthode

public Rectangle ( Point location, int width, int height ) : System
location Point
width int
height int
Résultat System

Rectangle() public méthode

public Rectangle ( int x, int y, Size size ) : System
x int
y int
size Size
Résultat System

Rectangle() public méthode

public Rectangle ( int x, int y, int width, int height ) : System
x int
y int
width int
height int
Résultat System

Test() public static méthode

public static Test ( ) : void
Résultat void