A simple default implementation of a mutable oriented rectangle in 2D coordinate space with double precision values stored in an instance of IMutablePoint and IMutableSize as well as two doubles for the up vector components.

Namespace: yWorks.Canvas.Geometry
Assembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)

Syntax

C#
public class OrientedRectangle : IMutablePoint, 
	IPoint, IPointSetter, IMovable, IMutableOrientedRectangle, IOrientedRectangle, 
	IMutableSize, ISize, ISizeSetter, ICloneable
Visual Basic
Public Class OrientedRectangle _
	Implements IMutablePoint, IPoint, IPointSetter, IMovable,  _
	IMutableOrientedRectangle, IOrientedRectangle, IMutableSize, ISize, ISizeSetter,  _
	ICloneable

Remarks

This implementation delegates the storage to implementations of IMutablePoint for the anchor of the oriented rectangle. and IMutableSize for the size of the oriented rectangle. members. As a convenience it implements the IMovable, the IMutablePoint and the ICloneable interfaces.

Inheritance Hierarchy

System..::..Object
  yWorks.Canvas.Geometry..::..OrientedRectangle

See Also