C# Class SuperMap.WindowsPhone.Core.Rectangle2D

${WP_core_Rectangle2D_Title}

${WP_core_Rectangle2D_Description}

Inheritance: IFormattable
显示文件 Open project: SuperMap/iClient-for-Win8 Class Usage Examples

Public Methods

Method Description
Clone ( ) : Rectangle2D

${WP_core_Rectangle2D_method_clone_D}

Contains ( Point2D point ) : bool

${WP_core_Rectangle2D_method_containsPoint2D_D}

Contains ( Rectangle2D rect ) : bool

${WP_core_Rectangle2D_method_containsRectangle2D_D}

Contains ( double x, double y ) : bool

${WP_core_Rectangle2D_method_containsXY_D}

CreateFromXYWidthHeight ( double x, double y, double width, double height ) : Rectangle2D

${WP_core_Rectangle2D_method_CreateFromXYWidthHeight_D}

Equals ( Rectangle2D rectangle ) : bool

${WP_core_Rectangle2D_method_equals_D}

Equals ( object obj ) : bool

${WP_core_Rectangle2D_method_equalsObject_D}

Expand ( double expandFactor ) : Rectangle2D

${WP_core_Rectangle2D_method_Expand_D}

GetHashCode ( ) : int

${WP_core_Rectangle2D_method_GetHashCode_D}

Inflate ( double width, double height ) : Rectangle2D

${WP_core_Rectangle2D_method_inflate_D_sl}

Intersect ( Rectangle2D rect ) : Rectangle2D

${WP_core_Rectangle2D_method_intersect_D}

IntersectsWith ( Rectangle2D rect ) : bool

${WP_core_Rectangle2D_method_intersectsWith_D}

IsNullOrEmpty ( Rectangle2D rect ) : bool

${WP_core_Rectangle2D_method_IsNullOrEmpty_D}

Offset ( double dx, double dy ) : Rectangle2D

${WP_core_Rectangle2D_method_offset_D}

Rectangle2D ( ) : System

${WP_core_Rectangle2D_constructor_None_D}

Rectangle2D ( Point2D point1, Point2D point2 ) : System

${WP_core_Rectangle2D_constructor_Point2D_Point2D_D}

Rectangle2D ( Point2D bottomLeft, double width, double height ) : System

${WP_core_Rectangle2D_constructor_Point2D_Double_D}

Rectangle2D ( double left, double bottom, double right, double top ) : System

${WP_core_Rectangle2D_constructor_Double_Double_D}

ToString ( ) : string

${WP_core_Rectangle2D_method_toString_D}

ToString ( IFormatProvider provider ) : string

${WP_core_Rectangle2D_method_toString_IFormatProvider_D}

Union ( Point2D point ) : Rectangle2D

${WP_core_Rectangle2D_method_union_Point2D_D}

Union ( Rectangle2D rect ) : Rectangle2D

${WP_core_Rectangle2D_method_union_Rectangle2D_D}

operator ( ) : bool

${WP_core_Rectangle2D_operators_DoubleEquals_D}

Private Methods

Method Description
FromXYWidthHeight ( double x, double y, double width, double height ) : void
IFormattable ( string format, IFormatProvider provider ) : string
Within ( Rectangle2D other ) : bool

Method Details

Clone() public method

${WP_core_Rectangle2D_method_clone_D}
public Clone ( ) : Rectangle2D
return Rectangle2D

Contains() public method

${WP_core_Rectangle2D_method_containsPoint2D_D}
public Contains ( Point2D point ) : bool
point Point2D ${WP_core_Rectangle2D_method_containsPoint2D_param_point}
return bool

Contains() public method

${WP_core_Rectangle2D_method_containsRectangle2D_D}
public Contains ( Rectangle2D rect ) : bool
rect Rectangle2D ${WP_core_Rectangle2D_method_containsRectangle2D_param_rect}
return bool

Contains() public method

${WP_core_Rectangle2D_method_containsXY_D}
public Contains ( double x, double y ) : bool
x double ${WP_core_Rectangle2D_method_containsXY_param_x}
y double ${WP_core_Rectangle2D_method_containsXY_param_y}
return bool

CreateFromXYWidthHeight() public static method

${WP_core_Rectangle2D_method_CreateFromXYWidthHeight_D}
public static CreateFromXYWidthHeight ( double x, double y, double width, double height ) : Rectangle2D
x double ${WP_core_Rectangle2D_method_CreateFromXYWidthHeight_param_x}
y double ${WP_core_Rectangle2D_method_CreateFromXYWidthHeight_param_y}
width double ${WP_core_Rectangle2D_method_CreateFromXYWidthHeight_param_width}
height double ${WP_core_Rectangle2D_method_CreateFromXYWidthHeight_param_height}
return Rectangle2D

Equals() public method

${WP_core_Rectangle2D_method_equals_D}
public Equals ( Rectangle2D rectangle ) : bool
rectangle Rectangle2D ${WP_core_Rectangle2D_method_equals_param_rectangle}
return bool

Equals() public method

${WP_core_Rectangle2D_method_equalsObject_D}
public Equals ( object obj ) : bool
obj object ${WP_core_Rectangle2D_method_equalsObject_param_rect}
return bool

Expand() public method

${WP_core_Rectangle2D_method_Expand_D}
public Expand ( double expandFactor ) : Rectangle2D
expandFactor double
return Rectangle2D

GetHashCode() public method

${WP_core_Rectangle2D_method_GetHashCode_D}
public GetHashCode ( ) : int
return int

Inflate() public method

${WP_core_Rectangle2D_method_inflate_D_sl}
public Inflate ( double width, double height ) : Rectangle2D
width double ${WP_core_Rectangle2D_method_inflate_param_width_sl}
height double ${WP_core_Rectangle2D_method_inflate_param_height_sl}
return Rectangle2D

Intersect() public method

${WP_core_Rectangle2D_method_intersect_D}
public Intersect ( Rectangle2D rect ) : Rectangle2D
rect Rectangle2D ${WP_core_Rectangle2D_method_intersect_param_rect}
return Rectangle2D

IntersectsWith() public method

${WP_core_Rectangle2D_method_intersectsWith_D}
public IntersectsWith ( Rectangle2D rect ) : bool
rect Rectangle2D ${WP_core_Rectangle2D_method_intersectsWith_param_rect}
return bool

IsNullOrEmpty() public static method

${WP_core_Rectangle2D_method_IsNullOrEmpty_D}
public static IsNullOrEmpty ( Rectangle2D rect ) : bool
rect Rectangle2D ${WP_core_Rectangle2D_method_IsNullOrEmpty_param_rect}
return bool

Offset() public method

${WP_core_Rectangle2D_method_offset_D}
public Offset ( double dx, double dy ) : Rectangle2D
dx double ${WP_core_Rectangle2D_method_offset_param_dx}
dy double ${WP_core_Rectangle2D_method_offset_param_dy}
return Rectangle2D

Rectangle2D() public method

${WP_core_Rectangle2D_constructor_None_D}
public Rectangle2D ( ) : System
return System

Rectangle2D() public method

${WP_core_Rectangle2D_constructor_Point2D_Point2D_D}
public Rectangle2D ( Point2D point1, Point2D point2 ) : System
point1 Point2D ${WP_core_Rectangle2D_constructor_Point2D_Point2D_param_bottomLeft}
point2 Point2D ${WP_core_Rectangle2D_constructor_Point2D_Point2D_param_topRight}
return System

Rectangle2D() public method

${WP_core_Rectangle2D_constructor_Point2D_Double_D}
public Rectangle2D ( Point2D bottomLeft, double width, double height ) : System
bottomLeft Point2D ${WP_core_Rectangle2D_constructor_Point2D_Double_param_bottomLeft}
width double ${WP_core_Rectangle2D_constructor_Point2D_Double_param_width}
height double ${WP_core_Rectangle2D_constructor_Point2D_Double_param_height}
return System

Rectangle2D() public method

${WP_core_Rectangle2D_constructor_Double_Double_D}
public Rectangle2D ( double left, double bottom, double right, double top ) : System
left double ${WP_core_Rectangle2D_constructor_Double_Double_param_left}
bottom double ${WP_core_Rectangle2D_constructor_Double_Double_param_bottom}
right double ${WP_core_Rectangle2D_constructor_Double_Double_param_right}
top double ${WP_core_Rectangle2D_constructor_Double_Double_param_top}
return System

ToString() public method

${WP_core_Rectangle2D_method_toString_D}
public ToString ( ) : string
return string

ToString() public method

${WP_core_Rectangle2D_method_toString_IFormatProvider_D}
public ToString ( IFormatProvider provider ) : string
provider IFormatProvider ${WP_core_Rectangle2D_method_toString_IFormatProvider_param_provider}
return string

Union() public method

${WP_core_Rectangle2D_method_union_Point2D_D}
public Union ( Point2D point ) : Rectangle2D
point Point2D ${WP_core_Rectangle2D_method_union_Point2D_param_point}
return Rectangle2D

Union() public method

${WP_core_Rectangle2D_method_union_Rectangle2D_D}
public Union ( Rectangle2D rect ) : Rectangle2D
rect Rectangle2D ${WP_core_Rectangle2D_method_union_Rectangle2D_param_rect}
return Rectangle2D

operator() public static method

${WP_core_Rectangle2D_operators_DoubleEquals_D}
public static operator ( ) : bool
return bool