C# Class Windows.Foundation.Rect

Mostrar archivo Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Contains ( Point point ) : bool
Equals ( Rect value ) : bool
Equals ( object o ) : bool
GetHashCode ( ) : int
Intersect ( Rect rect ) : 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
ToString ( IFormatProvider provider ) : string
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
Create ( double x, double y, double width, double height ) : Rect
CreateEmptyRect ( ) : Rect
IFormattable ( string format, IFormatProvider provider ) : string
IntersectsWith ( Rect rect ) : bool

Method Details

Contains() public method

public Contains ( Point point ) : bool
point Point
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

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

ToString() public method

public ToString ( IFormatProvider provider ) : string
provider IFormatProvider
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