LabelOrientation

StockSharp.Xaml.Diagram.GXDiagram

This enumeration governs if and how a LinkPanel's child element or label node is rotated to be oriented along the Route of a Link.

Campos

Along : LabelOrientation

The element's angle is always the same as the angle of the link's route at the segment where the element is attached. The element is turned to have the same angle as the route. Use this orientation for arrow heads.

Minus90 : LabelOrientation

The element's angle is always 90 degrees less than the angle of the link's route at the segment where the element is attached. The element is turned counter-clockwise to be perpendicular to the route.

Minus90Upright : LabelOrientation

The element's angle is always 90 degrees less than the angle of the link's route at the segment where the element is attached, but is never upside down. The element is turned counter-clockwise to be perpendicular to the route, just like Minus90. This is typically only used for elements that contain text.

None : LabelOrientation

The element is never rotated -- the angle is always zero.

Opposite : LabelOrientation

The element's angle is always 180 degrees opposite from the angle of the link's route at the segment where the element is attached.

Plus90 : LabelOrientation

The element's angle is always 90 degrees more than the angle of the link's route at the segment where the element is attached. The element is turned clockwise to be perpendicular to the route.

Plus90Upright : LabelOrientation

The element's angle is always 90 degrees more than the angle of the link's route at the segment where the element is attached, but is never upside down. The element is turned clockwise to be perpendicular to the route, just like Plus90. This is typically only used for elements that contain text.

Upright : LabelOrientation

The element's angle always follows the angle of the link's route at the segment where the element is attached, but is never upside down. The element is turned to have the same angle as the route, just like Along. This is typically only used for elements that contain text.

Upright45 : LabelOrientation

The element's angle always follows the angle of the link's route at the segment where the element is attached, but is never upside down and is never angled more than +/- 45 degrees. When the route's angle is within 45 degrees of vertical (90 or 270 degrees), the element's angle is set to zero. This is typically only used for elements that contain text.