documentationfor yFiles for HTML 2.6

IOrientedRectangle

Interface for oriented rectangles in 2D coordinate space with double precision coordinates.

Inheritance Hierarchy
Implemented Interfaces

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.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.geometry.IOrientedRectangle

See Also

Properties

Methods

Constants