C# Класс SuperMap.Web.Core.Rectangle2D

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FromXYWidthHeight void
IFormattable string
Reset void
Within bool

Открытые методы

Метод Описание
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}

Приватные методы

Метод Описание
FromXYWidthHeight ( double x, double y, double width, double height ) : void
IFormattable ( string format, IFormatProvider provider ) : string
Reset ( ) : void
Within ( Rectangle2D other ) : bool

Описание методов

Contains() публичный Метод

${core_Rectangle2D_method_containsPoint2D_D}
public Contains ( Point2D point ) : bool
point Point2D ${core_Rectangle2D_method_containsPoint2D_param_point}
Результат bool

Contains() публичный Метод

${core_Rectangle2D_method_containsRectangle2D_D}
public Contains ( Rectangle2D rect ) : bool
rect Rectangle2D ${core_Rectangle2D_method_containsRectangle2D_param_rect}
Результат bool

Contains() публичный Метод

${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}
Результат bool

CreateFromXYWidthHeight() публичный статический Метод

${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}
Результат Rectangle2D

Equals() публичный Метод

${core_Rectangle2D_method_equals_D}
public Equals ( Rectangle2D rectangle ) : bool
rectangle Rectangle2D ${core_Rectangle2D_method_equals_param_rectangle}
Результат bool

Equals() публичный Метод

${core_Rectangle2D_method_equalsObject_D}
public Equals ( object obj ) : bool
obj object ${core_Rectangle2D_method_equalsObject_param_rect}
Результат bool

Expand() публичный Метод

${core_Rectangle2D_method_Expand_D}
public Expand ( double expandFactor ) : void
expandFactor double
Результат void

GetHashCode() публичный Метод

${core_Rectangle2D_method_GetHashCode_D}
public GetHashCode ( ) : int
Результат int

Inflate() публичный Метод

${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}
Результат void

Intersect() публичный Метод

${core_Rectangle2D_method_intersect_D}
public Intersect ( Rectangle2D rect ) : void
rect Rectangle2D ${core_Rectangle2D_method_intersect_param_rect}
Результат void

IntersectsWith() публичный Метод

${core_Rectangle2D_method_intersectsWith_D}
public IntersectsWith ( Rectangle2D rect ) : bool
rect Rectangle2D ${core_Rectangle2D_method_intersectsWith_param_rect}
Результат bool

Offset() публичный Метод

${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}
Результат void

Rectangle2D() публичный Метод

${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}
Результат System

Rectangle2D() публичный Метод

${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}
Результат System

Rectangle2D() публичный Метод

${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}
Результат System

ToString() публичный Метод

${core_Rectangle2D_method_toString_D}
public ToString ( ) : string
Результат string

ToString() публичный Метод

${core_Rectangle2D_method_toString_IFormatProvider_D}
public ToString ( IFormatProvider provider ) : string
provider IFormatProvider ${core_Rectangle2D_method_toString_IFormatProvider_param_provider}
Результат string

Union() публичный Метод

${core_Rectangle2D_method_union_Point2D_D}
public Union ( Point2D point ) : void
point Point2D ${core_Rectangle2D_method_union_Point2D_param_point}
Результат void

Union() публичный Метод

${core_Rectangle2D_method_union_Rectangle2D_D}
public Union ( Rectangle2D rect ) : void
rect Rectangle2D ${core_Rectangle2D_method_union_Rectangle2D_param_rect}
Результат void

Update() публичный Метод

${core_Rectangle2D_method_Update_D}
public Update ( double left, double bottom, double right, double top ) : void
left double
bottom double
right double
top double
Результат void

UpdateFromXYWidthHeight() публичный Метод

${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}
Результат void

operator() публичный статический Метод

${core_Rectangle2D_operators_DoubleEquals_D}
public static operator ( ) : bool
Результат bool