Home > @jsplumbtoolkit/browser-ui > AnchorLocations
AnchorLocations enum
Default anchor locations.
Signature:
export declare enum AnchorLocations
Enumeration Members
Member | Value | Description |
---|---|---|
Assign | "Assign" | |
AutoDefault | "AutoDefault" | Chooses from Top, Left, Bottom or Right, depending on which is closest to the anchor at the other end of the connection. |
Bottom | "Bottom" | Bottom middle of the element. |
BottomLeft | "BottomLeft" | Bottom left corner of the element. |
BottomRight | "BottomRight" | Bottom right corner of the element. |
Center | "Center" | Center of the element. |
Continuous | "Continuous" | Assigns a separate anchor point for each endpoint, choosing whichever face is closest to the element at the other end of each connection. |
ContinuousBottom | "ContinuousBottom" | As with Continuous, but only use the bottom face. |
ContinuousLeft | "ContinuousLeft" | As with Continuous, but only use the left face. |
ContinuousLeftRight | "ContinuousLeftRight" | As with Continuous, but only use the left and right faces. |
ContinuousRight | "ContinuousRight" | As with Continuous, but only use the right face. |
ContinuousTop | "ContinuousTop" | As with Continuous, but only use the top face. |
ContinuousTopBottom | "ContinuousTopBottom" | As with Continuous, but only use the top and bottom faces. |
Left | "Left" | Center of the left edge of the element. |
Perimeter | "Perimeter" | Tracks the perimeter of some shape. |
Right | "Right" | Center of the right edge of the element. |
Top | "Top" | Center of the top edge of the element. |
TopLeft | "TopLeft" | Top left corner of the element. |
TopRight | "TopRight" | Top right corner of the element. |