The Rectangle2D class describes a rectangle defined by a location (x, y) and dimension (w x h).

Namespace: yWorks.yFiles.Util.Geom
Assembly: yWorks.yFilesWPF.Algorithms (in yWorks.yFilesWPF.Algorithms.dll) Version: 2.2.0.2 (2.2.0.2)

Syntax

C#
public abstract class Rectangle2D : ICloneable
Visual Basic
Public MustInherit Class Rectangle2D _
	Implements ICloneable

Remarks

The Rectangle2D class describes a rectangle defined by a location (x, y) and dimension (w x h). This class is only the abstract superclass for all objects that store a 2D rectangle. The actual storage representation of the coordinates is left to the subclass.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Util.Geom..::..Rectangle2D
    yWorks.yFiles.Util.Geom..::..Rectangle
    yWorks.yFiles.Util.Geom..::..Rectangle2D..::..Double

See Also