A simple default implementation of a mutable rectangle in 2D coordinate space
with double precision values stored in an instance of IMutablePoint
and IMutableSize.
Namespace: yWorks.Canvas.GeometryAssembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
public sealed class Rectangle : IMutableRectangle, IMutableSize, ISizeSetter, IMutablePoint, IPointSetter, IRectangle, IPoint, IReshapeable, IMovable, IOrientedRectangle, ISize, ICloneable |
| Visual Basic |
|---|
Public NotInheritable Class Rectangle _ Implements IMutableRectangle, IMutableSize, ISizeSetter, IMutablePoint, _ IPointSetter, IRectangle, IPoint, IReshapeable, IMovable, _ IOrientedRectangle, ISize, ICloneable |
Remarks
This implementation delegates the storage to implementations of
IMutablePoint for the upper left corner of the rectangle
and IMutableSize for the size of the rectangle.
members. As a convenience it implements the IMovable, the
IOrientedRectangle, and the ICloneable
interfaces.
Inheritance Hierarchy
System..::..Object
yWorks.Canvas.Geometry..::..Rectangle
yWorks.Canvas.Geometry..::..Rectangle