documentationfor yFiles for HTML 2.6

YOrientedRectangle

An oriented rectangle in 2D coordinate space with double precision coordinates.

Inheritance Hierarchy
YOrientedRectangle
Implemented Interfaces

Remarks

The rectangle's height extends from its anchor point in the direction of its up vector (ux, uy). Its width extends from its anchor point in direction (-uy, ux) (i.e. perpendicular to the up vector). This means that an oriented rectangle with anchor point (0, 0) width 100, height 10, and up vector (0, -1) is a paraxial rectangle with upper left corner (0, -10) and lower right corner (100, 0).

Type Details

yfiles module
algorithms
yfiles-umd modules
All layout modules, view-layout-bridge
Legacy UMD name
yfiles.algorithms.YOrientedRectangle

Constructors

Properties

Methods

Static Methods