C# Class Hyena.Gui.Canvas.Rect

Mostra file Open project: GNOME/hyena Class Usage Examples

Public Methods

Method Description
Contains ( Point point ) : bool
Contains ( double px, double py ) : bool
Equals ( Rect value ) : bool
Equals ( object o ) : bool
GetHashCode ( ) : int
Intersect ( Rect rect ) : void
IntersectsWith ( Rect rect ) : bool
Offset ( Point point ) : void
Offset ( Rect rect ) : void
Offset ( double dx, double dy ) : void
Rect ( Point point1, Point point2 ) : System
Rect ( Point location, Size size ) : System
Rect ( double x, double y, double width, double height ) : System
ToString ( ) : string
Union ( Point point ) : void
Union ( Rect rect ) : void
operator ( ) : bool

Method Details

Contains() public method

public Contains ( Point point ) : bool
point Point
return bool

Contains() public method

public Contains ( double px, double py ) : bool
px double
py double
return bool

Equals() public method

public Equals ( Rect value ) : bool
value Rect
return bool

Equals() public method

public Equals ( object o ) : bool
o object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Intersect() public method

public Intersect ( Rect rect ) : void
rect Rect
return void

IntersectsWith() public method

public IntersectsWith ( Rect rect ) : bool
rect Rect
return bool

Offset() public method

public Offset ( Point point ) : void
point Point
return void

Offset() public method

public Offset ( Rect rect ) : void
rect Rect
return void

Offset() public method

public Offset ( double dx, double dy ) : void
dx double
dy double
return void

Rect() public method

public Rect ( Point point1, Point point2 ) : System
point1 Point
point2 Point
return System

Rect() public method

public Rect ( Point location, Size size ) : System
location Point
size Size
return System

Rect() public method

public Rect ( double x, double y, double width, double height ) : System
x double
y double
width double
height double
return System

ToString() public method

public ToString ( ) : string
return string

Union() public method

public Union ( Point point ) : void
point Point
return void

Union() public method

public Union ( Rect rect ) : void
rect Rect
return void

operator() public static method

public static operator ( ) : bool
return bool