C# Class System.Windows.Rect

Show file Open project: apetrovskiy/STUPS Class Usage Examples

Public Methods

Method Description
Contains ( Point point ) : bool
Contains ( Rect rect ) : bool
Contains ( double x, double y ) : bool
Equals ( Rect value ) : bool
Equals ( Rect rect1, Rect rect2 ) : bool
Equals ( object o ) : bool
GetHashCode ( ) : int
Inflate ( Rect rect, Size size ) : Rect
Inflate ( Rect rect, double width, double height ) : Rect
Inflate ( Size size ) : void
Inflate ( double width, double height ) : void
Intersect ( Rect rect1, Rect rect2 ) : Rect
Intersect ( Rect rect ) : void
IntersectsWith ( Rect rect ) : bool
Offset ( Rect rect, double offsetX, double offsetY ) : Rect
Offset ( double offsetX, double offsetY ) : void
Rect ( Point point1, Point point2 ) : System
Rect ( Point location, Size size ) : System
Rect ( Size size ) : System
Rect ( double x, double y, double width, double height ) : System
Scale ( double scaleX, double scaleY ) : void
ToString ( ) : string
ToString ( IFormatProvider provider ) : string
Union ( Rect rect, Point point ) : Rect
Union ( Rect rect1, Rect rect2 ) : Rect
Union ( Point point ) : void
Union ( Rect rect ) : void
operator ( ) : bool

Private Methods

Method Description
ContainsInternal ( double x, double y ) : bool
ConvertToString ( string format, IFormatProvider provider ) : string
CreateEmptyRect ( ) : Rect
IFormattable ( string format, IFormatProvider provider ) : string

Method Details

Contains() public method

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

Contains() public method

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

Contains() public method

public Contains ( double x, double y ) : bool
x double
y double
return bool

Equals() public method

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

Equals() public static method

public static Equals ( Rect rect1, Rect rect2 ) : bool
rect1 Rect
rect2 Rect
return bool

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

Inflate() public static method

public static Inflate ( Rect rect, Size size ) : Rect
rect Rect
size Size
return Rect

Inflate() public static method

public static Inflate ( Rect rect, double width, double height ) : Rect
rect Rect
width double
height double
return Rect

Inflate() public method

public Inflate ( Size size ) : void
size Size
return void

Inflate() public method

public Inflate ( double width, double height ) : void
width double
height double
return void

Intersect() public static method

public static Intersect ( Rect rect1, Rect rect2 ) : Rect
rect1 Rect
rect2 Rect
return Rect

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

public static Offset ( Rect rect, double offsetX, double offsetY ) : Rect
rect Rect
offsetX double
offsetY double
return Rect

Offset() public method

public Offset ( double offsetX, double offsetY ) : void
offsetX double
offsetY 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 ( Size size ) : System
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

Scale() public method

public Scale ( double scaleX, double scaleY ) : void
scaleX double
scaleY double
return void

ToString() public method

public ToString ( ) : string
return string

ToString() public method

public ToString ( IFormatProvider provider ) : string
provider IFormatProvider
return string

Union() public static method

public static Union ( Rect rect, Point point ) : Rect
rect Rect
point Point
return Rect

Union() public static method

public static Union ( Rect rect1, Rect rect2 ) : Rect
rect1 Rect
rect2 Rect
return Rect

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