Class FlipDirection
Specifies how the diagram elements have to be flipped.
Inheritance
System.Object
FlipDirection
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class FlipDirection : Enum
Remarks
The following options are used to define the direction of the Flip |
1. Horizontal- It is used to flip the node or Connector is mirrored across the horizontal axis. |
2. Vertical- It is used to flip the node or connector is mirrored across the vertical axis. |
3. Both- It is used to flip the node or connector is mirrored across the both horizontal and vertical axis. |
4. None- It is used to disables all the flip behaviour. |
Examples
Node Node = new Node()
{
ID = "node1",
Width = 100,
Height = 100,
OffsetX = 100,
OffsetY = 300,
Flip=FlipDirection.Horizontal
};
Fields
Both
Flip the diagram elements(node, connector and group) shape to both horizontally and vertically based on its DiagramFlipMode value.
Declaration
public const FlipDirection Both
Field Value
Type |
---|
FlipDirection |
Horizontal
Flip the diagram elements(node, connector and group) shape Horizontally based on its DiagramFlipMode value.
Declaration
public const FlipDirection Horizontal
Field Value
Type |
---|
FlipDirection |
None
No flip will be applied and this is the default value.
Declaration
public const FlipDirection None
Field Value
Type |
---|
FlipDirection |
Vertical
Flip the diagram elements(node, connector and group) shape vertically based on its DiagramFlipMode value.
Declaration
public const FlipDirection Vertical
Field Value
Type |
---|
FlipDirection |