C# Class SuperMap.Web.Core.Rectangle2D

ファイルを表示 Open project: SuperMap/iClient-for-Silverlight Class Usage Examples

Private Properties

Property Type Description
FromXYWidthHeight void
IFormattable string
Reset void
Within bool

Public Methods

Method Description
Contains ( Point2D point ) : bool

${core_Rectangle2D_method_containsPoint2D_D}

Contains ( Rectangle2D rect ) : bool

${core_Rectangle2D_method_containsRectangle2D_D}

Contains ( double x, double y ) : bool

${core_Rectangle2D_method_containsXY_D}

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

${core_Rectangle2D_method_CreateFromXYWidthHeight_D}

Equals ( Rectangle2D rectangle ) : bool

${core_Rectangle2D_method_equals_D}

Equals ( object obj ) : bool

${core_Rectangle2D_method_equalsObject_D}

Expand ( double expandFactor ) : void

${core_Rectangle2D_method_Expand_D}

GetHashCode ( ) : int

${core_Rectangle2D_method_GetHashCode_D}

Inflate ( double width, double height ) : void

${core_Rectangle2D_method_inflate_D_sl}

Intersect ( Rectangle2D rect ) : void

${core_Rectangle2D_method_intersect_D}

IntersectsWith ( Rectangle2D rect ) : bool

${core_Rectangle2D_method_intersectsWith_D}

Offset ( double dx, double dy ) : void

${core_Rectangle2D_method_offset_D}

Rectangle2D ( Point2D point1, Point2D point2 ) : System

${core_Rectangle2D_constructor_Point2D_Point2D_D}

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

${core_Rectangle2D_constructor_Point2D_Double_D}

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

${core_Rectangle2D_constructor_Double_Double_D}

ToString ( ) : string

${core_Rectangle2D_method_toString_D}

ToString ( IFormatProvider provider ) : string

${core_Rectangle2D_method_toString_IFormatProvider_D}

Union ( Point2D point ) : void

${core_Rectangle2D_method_union_Point2D_D}

Union ( Rectangle2D rect ) : void

${core_Rectangle2D_method_union_Rectangle2D_D}

Update ( double left, double bottom, double right, double top ) : void

${core_Rectangle2D_method_Update_D}

UpdateFromXYWidthHeight ( double x, double y, double width, double height ) : void

${core_Rectangle2D_method_UpdateFromXYWidthHeight_D}

operator ( ) : bool

${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
Reset ( ) : void
Within ( Rectangle2D other ) : bool

Method Details

Contains() public method

${core_Rectangle2D_method_containsPoint2D_D}
public Contains ( Point2D point ) : bool
point Point2D ${core_Rectangle2D_method_containsPoint2D_param_point}
return bool

Contains() public method

${core_Rectangle2D_method_containsRectangle2D_D}
public Contains ( Rectangle2D rect ) : bool
rect Rectangle2D ${core_Rectangle2D_method_containsRectangle2D_param_rect}
return bool

Contains() public method

${core_Rectangle2D_method_containsXY_D}
public Contains ( double x, double y ) : bool
x double ${core_Rectangle2D_method_containsXY_param_x}
y double ${core_Rectangle2D_method_containsXY_param_y}
return bool

CreateFromXYWidthHeight() public static method

${core_Rectangle2D_method_CreateFromXYWidthHeight_D}
public static CreateFromXYWidthHeight ( double x, double y, double width, double height ) : Rectangle2D
x double ${core_Rectangle2D_method_CreateFromXYWidthHeight_param_x}
y double ${core_Rectangle2D_method_CreateFromXYWidthHeight_param_y}
width double ${core_Rectangle2D_method_CreateFromXYWidthHeight_param_width}
height double ${core_Rectangle2D_method_CreateFromXYWidthHeight_param_height}
return Rectangle2D

Equals() public method

${core_Rectangle2D_method_equals_D}
public Equals ( Rectangle2D rectangle ) : bool
rectangle Rectangle2D ${core_Rectangle2D_method_equals_param_rectangle}
return bool

Equals() public method

${core_Rectangle2D_method_equalsObject_D}
public Equals ( object obj ) : bool
obj object ${core_Rectangle2D_method_equalsObject_param_rect}
return bool

Expand() public method

${core_Rectangle2D_method_Expand_D}
public Expand ( double expandFactor ) : void
expandFactor double
return void

GetHashCode() public method

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

Inflate() public method

${core_Rectangle2D_method_inflate_D_sl}
public Inflate ( double width, double height ) : void
width double ${core_Rectangle2D_method_inflate_param_width_sl}
height double ${core_Rectangle2D_method_inflate_param_height_sl}
return void

Intersect() public method

${core_Rectangle2D_method_intersect_D}
public Intersect ( Rectangle2D rect ) : void
rect Rectangle2D ${core_Rectangle2D_method_intersect_param_rect}
return void

IntersectsWith() public method

${core_Rectangle2D_method_intersectsWith_D}
public IntersectsWith ( Rectangle2D rect ) : bool
rect Rectangle2D ${core_Rectangle2D_method_intersectsWith_param_rect}
return bool

Offset() public method

${core_Rectangle2D_method_offset_D}
public Offset ( double dx, double dy ) : void
dx double ${core_Rectangle2D_method_offset_param_dx}
dy double ${core_Rectangle2D_method_offset_param_dy}
return void

Rectangle2D() public method

${core_Rectangle2D_constructor_Point2D_Point2D_D}
public Rectangle2D ( Point2D point1, Point2D point2 ) : System
point1 Point2D ${core_Rectangle2D_constructor_Point2D_Point2D_param_bottomLeft}
point2 Point2D ${core_Rectangle2D_constructor_Point2D_Point2D_param_topRight}
return System

Rectangle2D() public method

${core_Rectangle2D_constructor_Point2D_Double_D}
public Rectangle2D ( Point2D bottomLeft, double width, double height ) : System
bottomLeft Point2D ${core_Rectangle2D_constructor_Point2D_Double_param_bottomLeft}
width double ${core_Rectangle2D_constructor_Point2D_Double_param_width}
height double ${core_Rectangle2D_constructor_Point2D_Double_param_height}
return System

Rectangle2D() public method

${core_Rectangle2D_constructor_Double_Double_D}
public Rectangle2D ( double left, double bottom, double right, double top ) : System
left double ${core_Rectangle2D_constructor_Double_Double_param_left}
bottom double ${core_Rectangle2D_constructor_Double_Double_param_bottom}
right double ${core_Rectangle2D_constructor_Double_Double_param_right}
top double ${core_Rectangle2D_constructor_Double_Double_param_top}
return System

ToString() public method

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

ToString() public method

${core_Rectangle2D_method_toString_IFormatProvider_D}
public ToString ( IFormatProvider provider ) : string
provider IFormatProvider ${core_Rectangle2D_method_toString_IFormatProvider_param_provider}
return string

Union() public method

${core_Rectangle2D_method_union_Point2D_D}
public Union ( Point2D point ) : void
point Point2D ${core_Rectangle2D_method_union_Point2D_param_point}
return void

Union() public method

${core_Rectangle2D_method_union_Rectangle2D_D}
public Union ( Rectangle2D rect ) : void
rect Rectangle2D ${core_Rectangle2D_method_union_Rectangle2D_param_rect}
return void

Update() public method

${core_Rectangle2D_method_Update_D}
public Update ( double left, double bottom, double right, double top ) : void
left double
bottom double
right double
top double
return void

UpdateFromXYWidthHeight() public method

${core_Rectangle2D_method_UpdateFromXYWidthHeight_D}
public UpdateFromXYWidthHeight ( double x, double y, double width, double height ) : void
x double ${core_Rectangle2D_method_CreateFromXYWidthHeight_param_x}
y double ${core_Rectangle2D_method_CreateFromXYWidthHeight_param_y}
width double ${core_Rectangle2D_method_CreateFromXYWidthHeight_param_width}
height double ${core_Rectangle2D_method_CreateFromXYWidthHeight_param_height}
return void

operator() public static method

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