Enhanced C#
Language of your choice: library documentation
|
Represents a mutable 2D rectangle. More...
Represents a mutable 2D rectangle.
This interface is separated into two bases, IRectangleBase<T> and INewRectangle<R,T>, for the same reason that IPoint<T>'s coordinates are divided into IPointBase<T> and INewPoint<P,T>, as explained in the documentation of IPoint<T>.
Additional Inherited Members | |
Properties inherited from Loyc.Geometry.IRectangleReader< T > | |
T | X1 [get] |
T | Y1 [get] |
T | X2 [get] |
T | Y2 [get] |
Properties inherited from Loyc.Geometry.ISizeReader< T > | |
T | Width [get] |
Gets the width of a rectangle (the difference between X coordinates). More... | |
T | Height [get] |
Gets the height of a rectangle (the difference between Y coordinates). More... | |
Public Member Functions inherited from Loyc.Geometry.IRectangleBase< T > | |
void | SetXAndWidth (T x, T width) |
void | SetYAndHeight (T y, T height) |
void | SetXRange (T x1, T x2) |
void | SetYRange (T x1, T x2) |
Public Member Functions inherited from Loyc.Geometry.INewRectangle< IRectangle< T >, T > | |
Rect | NewRect (T x, T y, T width, T height) |
Rect | NewRange (T x1, T y1, T x2, T y2) |