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.

Fields

Along
public const LabelOrientation Along
value = LabelOrientation.Along

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
public const LabelOrientation Minus90
value = LabelOrientation.Minus90

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
public const LabelOrientation Minus90Upright
value = LabelOrientation.Minus90Upright

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
public const LabelOrientation None
value = LabelOrientation.None

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

Opposite
public const LabelOrientation Opposite
value = LabelOrientation.Opposite

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
public const LabelOrientation Plus90
value = LabelOrientation.Plus90

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
public const LabelOrientation Plus90Upright
value = LabelOrientation.Plus90Upright

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
public const LabelOrientation Upright
value = LabelOrientation.Upright

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
public const LabelOrientation Upright45
value = LabelOrientation.Upright45

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.