Interface for oriented rectangles in 2D coordinate space with double precision coordinates.
Namespace: yWorks.Canvas.GeometryAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
Remarks
The rectangle described by this interface has its lower left corner at the anchor as described
by the AnchorX and AnchorY properties and is oriented in space
so that its upper left corner lies in direction of the (UpX,UpY) vector.
The size of the instance does not describe the bounds of the instance but the lengths of
the sides of the rectangle.
An IRectangle would thus be an oriented rectangle, whose anchor is the lower left
corner of the rectangle, whose size is the same as that of the rectangle and
whose up vector is (0,-1).
This interface provides read access to the features of the oriented rectangle only, however this does not
mean that an instance that implements IOrientedRectangle will always return the same values
for its properties. Often times the instance provides a dynamic read access
to the current state of a rectangle. It depends on the context whether it is allowed to or
even necessary to copy the state of the properties or whether the reference
to the instance should always be used to query the values.