C# Class System.Windows.Rect

Afficher le fichier Open project: apetrovskiy/STUPS Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

Contains() public méthode

public Contains ( Rect rect ) : bool
rect Rect
Résultat bool

Contains() public méthode

public Contains ( double x, double y ) : bool
x double
y double
Résultat bool

Equals() public méthode

public Equals ( Rect value ) : bool
value Rect
Résultat bool

Equals() public static méthode

public static Equals ( Rect rect1, Rect rect2 ) : bool
rect1 Rect
rect2 Rect
Résultat bool

Equals() public méthode

public Equals ( object o ) : bool
o object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Inflate() public static méthode

public static Inflate ( Rect rect, Size size ) : Rect
rect Rect
size Size
Résultat Rect

Inflate() public static méthode

public static Inflate ( Rect rect, double width, double height ) : Rect
rect Rect
width double
height double
Résultat Rect

Inflate() public méthode

public Inflate ( Size size ) : void
size Size
Résultat void

Inflate() public méthode

public Inflate ( double width, double height ) : void
width double
height double
Résultat void

Intersect() public static méthode

public static Intersect ( Rect rect1, Rect rect2 ) : Rect
rect1 Rect
rect2 Rect
Résultat Rect

Intersect() public méthode

public Intersect ( Rect rect ) : void
rect Rect
Résultat void

IntersectsWith() public méthode

public IntersectsWith ( Rect rect ) : bool
rect Rect
Résultat bool

Offset() public static méthode

public static Offset ( Rect rect, double offsetX, double offsetY ) : Rect
rect Rect
offsetX double
offsetY double
Résultat Rect

Offset() public méthode

public Offset ( double offsetX, double offsetY ) : void
offsetX double
offsetY double
Résultat void

Rect() public méthode

public Rect ( Point point1, Point point2 ) : System
point1 Point
point2 Point
Résultat System

Rect() public méthode

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

Rect() public méthode

public Rect ( Size size ) : System
size Size
Résultat System

Rect() public méthode

public Rect ( double x, double y, double width, double height ) : System
x double
y double
width double
height double
Résultat System

Scale() public méthode

public Scale ( double scaleX, double scaleY ) : void
scaleX double
scaleY double
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

ToString() public méthode

public ToString ( IFormatProvider provider ) : string
provider IFormatProvider
Résultat string

Union() public static méthode

public static Union ( Rect rect, Point point ) : Rect
rect Rect
point Point
Résultat Rect

Union() public static méthode

public static Union ( Rect rect1, Rect rect2 ) : Rect
rect1 Rect
rect2 Rect
Résultat Rect

Union() public méthode

public Union ( Point point ) : void
point Point
Résultat void

Union() public méthode

public Union ( Rect rect ) : void
rect Rect
Résultat void

operator() public static méthode

public static operator ( ) : bool
Résultat bool