Enum FlipDirection
Specifies how the diagram elements have to be flipped.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public enum FlipDirection
Remarks
The FlipDirection enumeration defines the direction in which diagram elements (nodes, connectors, and groups) can be flipped.
This enables the standard set of diagram functionalities for transforming element orientations.
- None - Disables all flip behavior and maintains the original orientation
- Horizontal - Mirrors the element across the horizontal axis
- Vertical - Mirrors the element across the vertical axis
- Both - Mirrors the element across both horizontal and vertical axes
Examples
The following example demonstrates how to apply horizontal flip to a diagram node:
Node Node = new Node()
{
ID = "node1",
Width = 100,
Height = 100,
OffsetX = 100,
OffsetY = 300,
Flip=FlipDirection.Horizontal
};
Fields
| Name | Description |
|---|---|
| Both | Flips the diagram element both horizontally and vertically. |
| Horizontal | Flips the diagram element horizontally across the horizontal axis. |
| None | No flip will be applied to the diagram element. |
| Vertical | Flips the diagram element vertically across the vertical axis. |